twisted.mail.interfaces.IDomain(Interface) interface documentationtwisted.mail.interfaces
          View Source
          (View In Hierarchy)
        
      Known subclasses: twisted.mail.interfaces.IAliasableDomain
Known implementations: twisted.mail.mail.BounceDomain
An interface for email domains.
| Method | exists | Check whether a user exists in this domain. | 
| Method | addUser | Add a user to this domain. | 
| Method | getCredentialsCheckers | Return credentials checkers for this domain. | 
Check whether a user exists in this domain.
| Parameters | user | A user. (type: User) | 
| Returns | A function which takes no arguments and returns a message receiver for the user. (type: no-argument callable which returns IMessageSMTP provider) | |
| Raises | SMTPBadRcpt | When the given user does not exist in this domain. | 
Return credentials checkers for this domain.
| Returns | Credentials checkers for this domain. (type: list of ICredentialsChecker provider) | |