PyDocs

Internet Data Handling

email.errors

email package exception classes.
Symbols in email.errors

b

BoundaryError
Couldn't find terminating boundary.

c

CloseBoundaryNotFoundDefect
A start boundary was found, but not the corresponding close boundary.

f

FirstHeaderLineIsContinuationDefect
A message had a continuation line as its first header line.

h

HeaderDefect
Base class for a header defect.
HeaderParseError
Error while parsing headers.
HeaderWriteError
Error while writing headers.

i

InvalidBase64CharactersDefect
base64 encoded sequence had characters not in base64 alphabet
InvalidBase64LengthDefect
base64 encoded sequence had invalid length (1 mod 4)
InvalidBase64PaddingDefect
base64 encoded sequence had an incorrect length
InvalidDateDefect
Header has unparsable or invalid date

m

MalformedHeaderDefect
Found line with no leading whitespace and no colon before blank line.
MessageDefect
Base class for a message defect.
MessageError
Base class for errors in the email package.
MessageParseError
Base class for message parsing errors.
MisplacedEnvelopeHeaderDefect
A 'Unix-from' header was found in the middle of a header block.
MissingHeaderBodySeparatorDefect
Found line with no leading whitespace and no colon before blank line.
MultipartConversionError
Conversion to a multipart is prohibited.
MultipartInvariantViolationDefect
A message claimed to be a multipart but no subparts were found.

n

NoBoundaryInMultipartDefect
A message claimed to be a multipart but had no boundary parameter.

s

StartBoundaryNotFoundDefect
The claimed start boundary was never found.