Package twisted :: Package mail :: Module mail :: Class MailService
[frames | no frames]

Class MailService

_AbstractServiceCollection --+    
                             |    
              Accessor --+   |    
                         |   |    
             Versioned --+   |    
                         |   |    
        ApplicationService --+    
                             |    
                  MultiService --+
                                 |
                                MailService


An email service.
Method Summary
  __init__(self, name)
  addDomain(self, name, domain)
  defaultPortal(self)
  getESMTPFactory(self)
  getPOP3Factory(self)
  getSMTPFactory(self)
  lookupPortal(self, name)
  requestAvatar(self, avatarId, mind, *interfaces)
  setQueue(self, queue)
Set the queue for outgoing emails.
    Inherited from MultiService
  _cbAttachServiceNames(self, result, services)
I massage the result of a DeferredList into something that's a bit easier to work with (see stopService's __doc__).
  addService(self, service)
Add a Service to me.
  removeService(self, service)
Remove a Service from me.
  startService(self)
Start all of my Services.
  stopService(self)
Stop all of my Services.
    Inherited from _AbstractServiceCollection
  getServiceNamed(self, serviceName)
Retrieve the named service from this application.
    Inherited from ApplicationService
  disownServiceParent(self)
Have my parent disown me.
  get_application(self)
  set_application(self, application)
  setApplication(self, application)
  setServiceParent(self, serviceParent)
Set my parent, which must be a service collection of some kind.
  upgradeToVersion1(self)
    Inherited from Accessor
  __delattr__(self, k)
  __getattr__(self, k)
  __setattr__(self, k, v)
  reallyDel(self, k)
*actually* del self.k without incurring side-effects.
  reallySet(self, k, v)
*actually* set self.k to v without incurring side-effects.
    Inherited from Versioned
  __getstate__(self, dict)
Get state, adding a version number to it on its way out.
  __setstate__(self, state)
  versionUpgrade(self)
(internal) Do a version upgrade.

Class Variable Summary
NoneType aliases = None                                                                  
NoneType domains = None                                                                  
NoneType portals = None                                                                  
NoneType queue = None                                                                  
NoneType smtpPortal = None                                                                  
    Inherited from _AbstractServiceCollection
tuple __implements__ = (<class twisted.internet.interfaces.ISe...
    Inherited from ApplicationService
int persistenceVersion = 1                                                                     
NoneType serviceName = None                                                                  
NoneType serviceParent = None                                                                  
int serviceRunning = 0                                                                     
NoneType serviceType = None                                                                  
    Inherited from Versioned
tuple persistenceForgets = ()

Method Details

__init__(self, name)
(Constructor)

Parameters:
name - This service's name
           (type=str)
Overrides:
twisted.internet.app.MultiService.__init__

setQueue(self, queue)

Set the queue for outgoing emails.

Class Variable Details

aliases

Type:
NoneType
Value:
None                                                                  

domains

Type:
NoneType
Value:
None                                                                  

portals

Type:
NoneType
Value:
None                                                                  

queue

Type:
NoneType
Value:
None                                                                  

smtpPortal

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Sat Sep 13 04:20:34 2003 http://epydoc.sf.net