email.message_from_binary_file(fp, _class=email.message.Message, *, policy=policy.compat32)
Return a message object structure tree from an open binary file object. This is exactly equivalent to BytesParser().parse(fp)
. _class and policy are interpreted as with the Parser
class constructor.
New in version 3.2.
Changed in version 3.3: Removed the strict argument. Added the policy keyword.
Please login to continue.