class documentation

class twisted.mail.smtp.Address: (source)

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.

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

Undocumented

atomre = (source)

Undocumented

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

Undocumented

__dict__ = (source)

Undocumented

addrstr = (source)

Undocumented

dequotebs = (source)

Undocumented

def dequote(self, addr): (source)

Remove RFC-2821 quotes from address.

def __str__(self): (source)

Undocumented

ReturnsUndocumented (type: str)
def __bytes__(self): (source)

Undocumented

ReturnsUndocumented (type: bytes)
def __repr__(self): (source)

Undocumented

ReturnsUndocumented (type: str)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.