Modify

Opened 9 years ago

Closed 9 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)

Change History (1)

comment:1 Changed 9 years ago by Robert Corsaro

Resolution: fixed
Status: newclosed

thanks. next time attach a patch so I can apply it. its easier. fixed in r4035

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Stephen Hansen.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.