Roundup Tracker - Issues

Message6569

Author schlatterbeck
Recipients cmeerw, schlatterbeck
Date 2019-07-02.16:14:52
Message-id <1562084092.32.0.546240416727.issue2551049@roundup.psfhosted.org>
In-reply-to
The mailer currently uses message.set_payload method without a charset
(charset is an optional argument). This results in a traceback with a
decoding error:

Error: 'ascii' codec can't encode character u'\xe4' in position 15:
ordinal not in range(128)

The fix is to pass the configured charset.

Note that I'm using mailer.standard_message explicitly in a reactor and
I'm not sure if normal nosy emails use the same code path.

I'll push a patch but wanted to document this.
History
Date User Action Args
2019-07-02 16:14:52schlatterbecksetrecipients: + schlatterbeck, cmeerw
2019-07-02 16:14:52schlatterbecksetmessageid: <1562084092.32.0.546240416727.issue2551049@roundup.psfhosted.org>
2019-07-02 16:14:52schlatterbecklinkissue2551049 messages
2019-07-02 16:14:52schlatterbeckcreate