Author Henning.von.Bargen
Recipients Henning.von.Bargen
Date 2016-12-05.15:48:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480952895.22.0.418354723664.issue28879@psf.upfronthosting.co.za>
In-reply-to
Content
I'm using CPython 2.7 with the smtplib and email modules to send emails with SMTP.
Today, one of our clients complained that the email sent is not RFC 5322 compliant because the required Date header is missing. The RFC states in section 3.6.:

"The only required header fields are the origination date field and
 the originator address field(s).  All other header fields are
  syntactically optional."

Our program has been sending millions of email message this way and this is the first complaint.

I guess that the library doesn't add the header field automatically.
History
Date User Action Args
2016-12-05 15:48:15Henning.von.Bargensetrecipients: + Henning.von.Bargen
2016-12-05 15:48:15Henning.von.Bargensetmessageid: <1480952895.22.0.418354723664.issue28879@psf.upfronthosting.co.za>
2016-12-05 15:48:15Henning.von.Bargenlinkissue28879 messages
2016-12-05 15:48:14Henning.von.Bargencreate