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 daurnimator
Recipients daurnimator
Date 2018-09-05.20:41:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536180104.03.0.56676864532.issue34591@psf.upfronthosting.co.za>
In-reply-to
Content
smtplib.sendmsg is documented to take RFC822 addresses. and e.g. if the `to_addrs` argument isn't provided then it gets the To address directly from the headers (which is in RFC822 form).

However it then proceeds to use it as an RFC821 address and sends it over the SMTP connection. https://github.com/python/cpython/blob/874809ea389e6434787e773a6054a08e0b81f734/Lib/smtplib.py#L542
History
Date User Action Args
2018-09-05 20:41:44daurnimatorsetrecipients: + daurnimator
2018-09-05 20:41:44daurnimatorsetmessageid: <1536180104.03.0.56676864532.issue34591@psf.upfronthosting.co.za>
2018-09-05 20:41:44daurnimatorlinkissue34591 messages
2018-09-05 20:41:43daurnimatorcreate