email.message_from_string()

email.message_from_string(s, *args, **kws)[source]

Parse a string into a Message object model.

Optional _class and strict are passed to the Parser constructor.