[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322
Eric Lafontaine
report at bugs.python.org
Sun Dec 18 21:53:16 EST 2016
Eric Lafontaine added the comment:
forgot to re-post the to-do, and to correct the documentation :
List of things to do :
- Implement a patch for the code to add a missing "Date" field if it doesn't exist . (in review)
- Modify the documentation at the SMTPLib for the send_message to mention that it add missing date using the email.utils.formatdate
- Modify the comment of the send_message code to mention RFC 5322 in there (ideally with the section of the RFC). ( in review)
- Modify the example of Python 2 to present a RFC 5322 examples
Feedback welcome as always!
----------
Added file: http://bugs.python.org/file45959/issue_28879_V3.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28879>
_______________________________________
More information about the Python-bugs-list
mailing list