interface documentation
class IDomain(IRealm): (source)
Known subclasses: twisted.mail.interfaces.IAliasableDomain
Known implementations: twisted.mail.mail.BounceDomain
An interface for email domains.
Method | add |
Add a user to this domain. |
Method | exists |
Check whether a user exists in this domain. |
Method | get |
Return credentials checkers for this domain. |
Inherited from IRealm
:
Method | request |
Return avatar which provides one of the given interfaces. |
overridden in
twisted.mail.interfaces.IAliasableDomain
Check whether a user exists in this domain.
Parameters | |
user:User | A user. |
Returns | |
no-argument callable which returns IMessageSMTP provider | A function which takes no arguments and returns a message receiver for the user. |
Raises | |
SMTPBadRcpt | When the given user does not exist in this domain. |
Return credentials checkers for this domain.
Returns | |
list of ICredentialsChecker provider | Credentials checkers for this domain. |