[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-06-20 Thread Nicolas Estibals
Nicolas Estibals added the comment: Hi, Treating this as a bug is a good news, if we don't user of the function will ask for python 3.3 I also think the part concerning the Sender header is pretty clear and we can fix it easily. About the Resent-* fields, I'm not sure of the righ

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-06-20 Thread Nicolas Estibals
Nicolas Estibals added the comment: I wasn't aware of the problem of guessing which are the correct Resent-* field, tthis does not seem to be that easy, however taking only the first one should be a good heuristic for next release. I think we now agree on the "automatic proces

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-06-28 Thread Nicolas Estibals
Nicolas Estibals added the comment: Sorry for the late, my week-end was more busy than expected. Here is the corrected version of the patch. -- Added file: http://bugs.python.org/file22511/send_message_rfc2822_v2.patch ___ Python tracker <h

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-07-04 Thread Nicolas Estibals
Nicolas Estibals added the comment: Thanks for your help and the interesting discussion with this issue. -- ___ Python tracker <http://bugs.python.org/issue12

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-05-22 Thread Nicolas Estibals
New submission from Nicolas Estibals : smtplib.send_message permits to send messages that are in python Message representation by selecting smtp's "from" and "to" in the message headers. Most of the time the implementation is correct but if the message is bounced (Re