class documentation

class Address:

Constructor: Address(addr, defaultDomain)

View In Hierarchy

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:

Undocumented

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

Undocumented

def __repr__(self) -> str:

Undocumented

def __str__(self) -> str:

Undocumented

def dequote(self, addr):

Remove RFC-2821 quotes from address.

atomre =

Undocumented

dequotebs =

Undocumented

tstring =

Undocumented

__dict__ =

Undocumented

addrstr =

Undocumented

domain: bytes =

The domain within which this address resides.

local: bytes =

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