twisted.mail.mail.IAliasableDomain(IDomain)
interface documentationtwisted.mail.mail
View Source
(View In Hierarchy)
Known implementations: twisted.mail.maildir.AbstractMaildirDomain
An interface for email domains which can be aliased to other domains.
Method | setAliasGroup | Set the group of defined aliases for this domain. |
Method | exists | Check whether a user exists in this domain or an alias of it. |
Inherited from IDomain:
Method | addUser | Add a user to this domain. |
Method | getCredentialsCheckers | Return credentials checkers for this domain. |
Check whether a user exists in this domain or an alias of it.
Parameters | user | A user. (type: User ) |
memo | A record of the addresses already considered while resolving aliases. The
default value should be used by all external code. (type: NoneType
or dict
of AliasBase ) | |
Returns | A function which takes no arguments and returns a message receiver for the
user. (type: no-argument callable which returns IMessage provider) | |
Raises | SMTPBadRcpt | When the given user does not exist in this domain or an alias of it. |