This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Nicolas.Estibals
Recipients Nicolas.Estibals
Date 2011-05-22.07:54:39
SpamBayes Score 3.098836e-05
Marked as misclassified No
Message-id <1306050881.77.0.236550216984.issue12147@psf.upfronthosting.co.za>
In-reply-to
Content
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 (Resent-* headers have to be considered) or if there is a Sender field (this one supersede the From field if present), the current implementation does not select the right addresses (not as specified in rfc 2822).

I have wrote a patch to make the method compliant. This is my first patch to python but I followed the "Lifecycle of a Patch" webpage and hope my code will be usable. Please ask me if some revision of the code is needed.
History
Date User Action Args
2011-05-22 07:54:41Nicolas.Estibalssetrecipients: + Nicolas.Estibals
2011-05-22 07:54:41Nicolas.Estibalssetmessageid: <1306050881.77.0.236550216984.issue12147@psf.upfronthosting.co.za>
2011-05-22 07:54:41Nicolas.Estibalslinkissue12147 messages
2011-05-22 07:54:41Nicolas.Estibalscreate