Modify ↓
Opened 18 years ago
Closed 18 years ago
#159 closed Bug (Completed)
Add a Date: header in _inetsmtpmail
| Reported by: | Owned by: | J-Paul Mesnage | |
|---|---|---|---|
| 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.
Attachments (0)
Change History (1)
comment:1 by , 18 years ago
| Milestone: | → 3.2.11.4 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Added in version: 3.2.11.4