Modify ↓
Opened 17 years ago
Closed 16 years ago
#3066 closed enhancement (fixed)
Patch for smtp servers that require the Date in the header
Reported by: | anonymous | Owned by: | Stephen Hansen |
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
My server was rejecting the email due to the header was missing the date.
In email_distributor.py
following def _do_send(...) - currently line 218 added line:
from email.Utils import formatdate
following rootMessage['Auto-Submitted'] = 'auto-generated' - currently line 237
rootMessage['Date'] = formatdate()
Attachments (0)
Note: See
TracTickets for help on using
tickets.
thanks. next time attach a patch so I can apply it. its easier. fixed in r4035