Modify

Opened 17 years ago

Closed 17 years ago

#159 closed Bug (Completed)

Add a Date: header in _inetsmtpmail

Reported by: grand-pa@… Owned by: Jpm
Milestone: 3.2.11.4 Component: AutoIt
Version: 3.2.10.0 Severity:
Keywords: Cc:

Description

E-mails sent with _inetsmtpmail do not include a Date: header line.
So a mail client like Thunderbird "dates" those e-mails to 01/01/1970.

I've modified the function in Inet.au3 this way :

"Mime-Version: 1.0" & @CRLF & _
"Date: " & _DateDayOfWeek(@WDAY, 1) & ", " & @MDAY & " " & _DateToMonth(@MON, 1) & " " & @YEAR & " " & @HOUR & ":" & @MIN & ":" & @SEC & @CRLF & _
"Content-Type: text/plain; charset=US-ASCII" & @CRLF & _

(I've only added the line begining with "Date: )

Ideally, the timezone (eg. +0600) should be added after the time.

Change History (1)

comment:1 Changed 17 years ago by Jpm

  • Milestone set to 3.2.11.4
  • Owner set to Jpm
  • Resolution set to Completed
  • Status changed from new to closed

Added in version: 3.2.11.4

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.