Back to module index
Go to module by name
email
email.errors
email package exception classes.
Classes
BoundaryError
Couldn't find terminating boundary.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
CharsetError
An illegal charset was given.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
CloseBoundaryNotFoundDefect
A start boundary was found, but not the corresponding close boundary.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
FirstHeaderLineIsContinuationDefect
A message had a continuation line as its first header line.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
HeaderDefect
Base class for a header defect.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
HeaderMissingRequiredValue
A header that must have a value had none
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
HeaderParseError
Error while parsing headers.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
InvalidBase64CharactersDefect
base64 encoded sequence had characters not in base64 alphabet
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
InvalidBase64LengthDefect
base64 encoded sequence had invalid length (1 mod 4)
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
InvalidBase64PaddingDefect
base64 encoded sequence had an incorrect length
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
InvalidHeaderDefect
Header is not valid, message gives details.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
InvalidMultipartContentTransferEncodingDefect
An invalid content transfer encoding was set on the multipart itself.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
MissingHeaderBodySeparatorDefect
Found line with no leading whitespace and no colon before blank line.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
MessageDefect
Base class for a message defect.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
MessageError
Base class for errors in the email package.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
MessageParseError
Base class for message parsing errors.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
MisplacedEnvelopeHeaderDefect
A 'Unix-from' header was found in the middle of a header block.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
MissingHeaderBodySeparatorDefect
Found line with no leading whitespace and no colon before blank line.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
MultipartConversionError
Conversion to a multipart is prohibited.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
MultipartInvariantViolationDefect
A message claimed to be a multipart but no subparts were found.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
NoBoundaryInMultipartDefect
A message claimed to be a multipart but had no boundary parameter.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
NonASCIILocalPartDefect
local_part contains non-ASCII characters
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
NonPrintableDefect
ASCII characters outside the ascii-printable range found
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
ObsoleteHeaderDefect
Header uses syntax declared obsolete by RFC 5322
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
StartBoundaryNotFoundDefect
The claimed start boundary was never found.
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
UndecodableBytesDefect
Header contained bytes that could not be decoded
with_traceback(...)
Exception.with_traceback(tb) --
set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>