PyDocs

Nav

Internet Data Handling

Parser.parsestr

  • Parser.parsestr(text, headersonly=False)
Create a message structure from a 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/Parser.parsestr.
See Also
No see-alsos for email.parser/Parser.parsestr
0 Notes
No notes for Parser.parsestr