[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322
Eric Lafontaine
report at bugs.python.org
Thu Dec 22 10:27:57 EST 2016
Eric Lafontaine added the comment:
Hi David, Henning,
Sorry for the delay. Here is the patch for python 2... but I find that adding an "example" just for RFC 5322 is kind of over-kill...
So I've made both :) please choose which one you prefer and let me know. I personnally prefer to use the non-overkill (which is only a comment and a line of code).
David, I know you might not like it, but could you be my mentor? I feel you have an understanding of messaging applications :). I know you don't have much time, but I feel you're a big participant and you could delegate some tasks on to me.
Regards,
Eric Lafontaine
- 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 ( in review)
With this, I've done all I could... What else can I start to do to get reviewed?
----------
Added file: http://bugs.python.org/file46001/issue_28879_python2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28879>
_______________________________________
More information about the Python-bugs-list
mailing list