Message105381
| Author |
garazi111 |
| Recipients |
barry, beazley, brotchie, eric.araujo, garazi111, l0nwlf, r.david.murray, stac, vstinner |
| Date |
2010年05月09日.11:54:44 |
| SpamBayes Score |
0.01900819 |
| Marked as misclassified |
No |
| Message-id |
<1273406086.85.0.254231684926.issue4768@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi,
I think the bug is also present in the function encode_quopri which should look like this :
def encode_quopri(msg):
"""Encode the message's payload in quoted-printable.
Also, add an appropriate Content-Transfer-Encoding header.
"""
orig = msg.get_payload()
encdata = _qencode(orig)
data = str(encdata, "ASCII")
msg.set_payload(data)
msg['Content-Transfer-Encoding'] = 'quoted-printable' |
|