Part of twisted.mail.mail View Source View In Hierarchy
| Instance Variable | queue | A queue for outgoing messages. (type: Queue or NoneType) | 
  
| Instance Variable | domains | A mapping of supported domain name to domain object. (type: dict of bytes
-> IDomain 
provider) | 
  
| Instance Variable | portals | A mapping of domain name to authentication portal. (type: dict of bytes
-> Portal) | 
  
| Instance Variable | aliases | A mapping of domain name to alias. (type: NoneType
or dict of bytes
-> IAlias 
provider) | 
  
| Instance Variable | smtpPortal | A portal for authentication for the SMTP server. (type: Portal) | 
  
| Instance Variable | monitor | A service to monitor changes to files. (type: FileMonitoringService) | 
  
| Method | __init__ | Initialize the mail service. | 
| Method | getPOP3Factory | Create a POP3 protocol factory. | 
| Method | getSMTPFactory | Create an SMTP protocol factory. | 
| Method | getESMTPFactory | Create an ESMTP protocol factory. | 
| Method | addDomain | Add a domain for which the service will accept email. | 
| Method | setQueue | Set the queue for outgoing emails. | 
| Method | requestAvatar | Return a message delivery for an authenticated SMTP user. | 
| Method | lookupPortal | Find the portal for a domain. | 
| Method | defaultPortal | Return the portal for the default domain. | 
Inherited from MultiService:
| Method | privilegedStartService | Undocumented | 
| Method | startService | Undocumented | 
| Method | stopService | Undocumented | 
| Method | getServiceNamed | Undocumented | 
| Method | __iter__ | Undocumented | 
| Method | addService | Undocumented | 
| Method | removeService | Undocumented | 
Inherited from Service (via MultiService):
| Method | __getstate__ | Undocumented | 
| Method | setName | Undocumented | 
| Method | setServiceParent | Undocumented | 
| Method | disownServiceParent | Undocumented | 
| Returns | A POP3 protocol factory. (type: POP3Factory) | |
| Returns | An SMTP protocol factory. (type: SMTPFactory) | |
| Returns | An ESMTP protocol factory. (type: ESMTPFactory) | |
| Parameters | queue | A queue for outgoing messages. (type: Queue) | 
| Parameters | avatarId | A string which identifies an authenticated user. (type: bytes) | 
| mind | Unused. (type: NoneType) | |
| interfaces | A group of interfaces one of which the avatar must support. (type: n-tuple
of zope.interface.Interface) | |
| Returns | A tuple of the supported interface, a message delivery, and a logout 
function. (type: 3-tuple
of (1) IMessageDelivery,
(2) ESMTPDomainDelivery,
(3) no-argument callable) | |
| Raises | NotImplementedError | When the given interfaces do not include IMessageDelivery. |