Author ThomasAH
Recipients ThomasAH, barry, paulproteus, r.david.murray, rdemetrescu
Date 2010-05-05.14:59:24
SpamBayes Score 0.00860452
Marked as misclassified No
Message-id <1273071567.26.0.565792163125.issue1525919@psf.upfronthosting.co.za>
In-reply-to
Content
Roger Demetrescu, I filed the issue with "Python 2.4", because the behavior changed somewhere between 2.4.2 and 2.4.3

The updated link to the MoinMoin bug entry is:
http://moinmo.in/MoinMoinBugs/ResetPasswordEmailImproperlyEncoded

The workaround I use to be compatible with <= 2.4.2 and >= 2.4.3 is:

    msg.set_payload('=')
    if msg.as_string().endswith('='):
        text = charset.body_encode(text)
    msg.set_payload(text)
History
Date User Action Args
2010-05-05 14:59:27ThomasAHsetrecipients: + ThomasAH, barry, rdemetrescu, paulproteus, r.david.murray
2010-05-05 14:59:27ThomasAHsetmessageid: <1273071567.26.0.565792163125.issue1525919@psf.upfronthosting.co.za>
2010-05-05 14:59:24ThomasAHlinkissue1525919 messages
2010-05-05 14:59:24ThomasAHcreate