Message282425
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. |
|
Date |
User |
Action |
Args |
2016-12-05 15:48:15 | Henning.von.Bargen | set | recipients:
+ Henning.von.Bargen |
2016-12-05 15:48:15 | Henning.von.Bargen | set | messageid: <1480952895.22.0.418354723664.issue28879@psf.upfronthosting.co.za> |
2016-12-05 15:48:15 | Henning.von.Bargen | link | issue28879 messages |
2016-12-05 15:48:14 | Henning.von.Bargen | create | |
|