class documentation

Parse and hold an RFC 2821 address.

Source routes are stipped and ignored, UUCP-style bang-paths and %-style routing are not parsed.

Method __bytes__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method dequote Remove RFC-2821 quotes from address.
Class Variable atomre Undocumented
Class Variable dequotebs Undocumented
Class Variable tstring Undocumented
Instance Variable __dict__ Undocumented
Instance Variable addrstr Undocumented
Instance Variable domain The domain within which this address resides.
Instance Variable local The local ("user") portion of this address.
def __bytes__(self) -> bytes: (source)

Undocumented

def __init__(self, addr, defaultDomain=None): (source)

Undocumented

def __repr__(self) -> str: (source)

Undocumented

def __str__(self) -> str: (source)

Undocumented

def dequote(self, addr): (source)

Remove RFC-2821 quotes from address.

Undocumented

dequotebs = (source)

Undocumented

Undocumented

__dict__ = (source)

Undocumented

Undocumented

domain: bytes = (source)

The domain within which this address resides.

local: bytes = (source)

The local ("user") portion of this address.