PyDocs

Nav

Internet Data Handling

BytesParser.parsebytes

  • BytesParser.parsebytes(bytes, headersonly=False)
Create a message structure from a byte string.

Returns the root of the message structure.  Optional headersonly is a
flag specifying whether to stop parsing after reading the headers or
not.  The default is False, meaning it parses the entire contents of
the file.
0 Examples
No examples for email.parser/BytesParser.parsebytes.
See Also
No see-alsos for email.parser/BytesParser.parsebytes
0 Notes
No notes for BytesParser.parsebytes