diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2013-12-28 18:35:17 +0100 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2013-12-31 12:05:59 +0100 |
| commit | 7c674dd1f19d30252bd959b26c616125c01ae58f (patch) | |
| tree | dcdc8025cc835cd56d6698a2d456a9df4603d85b /docs | |
| parent | 2d554d29f2f3b495768e4100e9b48c1bb6242799 (diff) | |
[1.6.x] Introduced as_bytes for SafeMIMEText (and other SafeMIME-classes).
This is to provide a consistent interface (namely bytes) for the smtp
backend which after all sends bytes over the wire; encoding with as_string
yields different results since mails as unicode are not really specified.
as_string stays for backwardscompatibilty mostly and some debug outputs.
But keep in mind that the output doesn't match as_bytes!
Backport of 5dfd824d38ec7d1f695494e46d603e89cae68661 from master.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
