[issue44870] email.message_from_bytes not working on BytesIO() object

Eric V. Smith report at bugs.python.org
Mon Aug 9 09:11:33 EDT 2021


Eric V. Smith <eric at trueblade.com> added the comment:

Use filecontent.getvalue(): https://docs.python.org/3/library/io.html#io.BytesIO.getvalue

----------
nosy: +eric.smith
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44870>
_______________________________________


More information about the Python-bugs-list mailing list