New submission from Henning von Bargen:

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.

----------
components: Library (Lib)
messages: 282425
nosy: Henning.von.Bargen
priority: normal
severity: normal
status: open
title: smtplib RFC 5322 date header missing
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28879>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to