Modify

Opened 7 years ago

Closed 6 years ago

#3066 closed enhancement (fixed)

Patch for smtp servers that require the Date in the header

Reported by: anonymous Owned by: ixokai
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 6 years ago by doki_pen

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain ixokai.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.