Message118197
Even if smtplib accepted bytes (it currently does not), *Generator* is still producing unicode, and should produce valid unicode and still insofar as possible preserve the meaning of the original message. This means unicode acts as if it is an SMTP server that does not support the 8bit capability, so we must convert to 7bit clean CTEs.
If smtplib later grows the ability to accept bytes, BytesGenerator can be used to feed it. I've clarified that BytesGenerator does not do the 7bit transform, and made some other doc tweaks. |
|
Date |
User |
Action |
Args |
2010-10-08 12:16:02 | r.david.murray | set | recipients:
+ r.david.murray, barry, anadelonbrin, pitrou, vstinner, dato, tercero12, meatballhat |
2010-10-08 12:16:02 | r.david.murray | set | messageid: <1286540162.6.0.381552765143.issue4661@psf.upfronthosting.co.za> |
2010-10-08 12:16:00 | r.david.murray | link | issue4661 messages |
2010-10-08 12:16:00 | r.david.murray | create | |
|