Jan Papež <honyczek at centrum.cz> added the comment: Did you try to use this? q = quotedata(msg.as_string()) ---------- nosy: +honyczek _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue8050> _______________________________________