exception email.errors.HeaderParseError
Raised under some error conditions when parsing the RFC 2822 headers of a message, this class is derived from MessageParseError
. It can be raised from the Parser.parse
or Parser.parsestr
methods.
Situations where it can be raised include finding an envelope header after the first RFC 2822 header of the message, finding a continuation line before the first RFC 2822 header is found, or finding a line in the headers which is neither a header or a continuation line.
Please login to continue.