Comment 2 for bug 265546

Revision history for this message
Dmick (dmick) wrote :

Regardless, it seems like the fix is to replace the
"robustly get message body" with a simple call
to get_payload():

218,228c218,219
< # 'bounce.txt' has a trailing newline. Be
robust about getting
< # the body of the message.
< body = _('[original message unavailable]')
< try:
< body = msg.body
< except AttributeError:
< try:
< msg.rewindbody()
< body = msg.fp.read()
< except IOError:
< pass
---
> # 'bounce.txt' has a trailing newline.
> body = msg.get_payload()