Package twisted :: Package mail :: Module protocols :: Class DomainSMTP
[show private | hide private]
[frames | no frames]

Class DomainSMTP

BaseProtocol --+            
               |            
        Protocol --+        
                   |        
        LineReceiver --+    
                       |    
                    SMTP --+
                           |
                          DomainSMTP


SMTP server that uses twisted.mail service's domains.
Method Summary
  __init__(self)
(inherited from SMTP)
  clearLineBuffer(self)
Clear buffered data. (inherited from LineReceiver)
  connectionFailed(self)
(Deprecated) (inherited from Protocol)
  connectionLost(self, reason)
Called when the connection is shut down. (inherited from SMTP)
  connectionMade(self)
Called when a connection is made. (inherited from SMTP)
  dataLineReceived(self, line)
(inherited from SMTP)
  dataReceived(self, data)
Protocol.dataReceived. (inherited from LineReceiver)
  do_DATA(self, rest)
(inherited from SMTP)
  do_HELO(self, rest)
(inherited from SMTP)
  do_MAIL(self, rest)
(inherited from SMTP)
  do_QUIT(self, rest)
(inherited from SMTP)
  do_RCPT(self, rest)
(inherited from SMTP)
  do_RSET(self, rest)
(inherited from SMTP)
  do_UNKNOWN(self, rest)
(inherited from SMTP)
  lineLengthExceeded(self, line)
Called when the maximum line length has been reached. (inherited from SMTP)
  lineReceived(self, line)
Override this for when each line is received. (inherited from SMTP)
  lookupMethod(self, command)
(inherited from SMTP)
  rawDataReceived(self, data)
Throw away rest of long line (inherited from SMTP)
  receivedHeader(self, helo, origin, recipents)
(inherited from SMTP)
  sendCode(self, code, message)
Send an SMTP code with a message. (inherited from SMTP)
  sendLine(self, line)
Sends a line to the other end of the connection. (inherited from LineReceiver)
  setLineMode(self, extra)
Sets the line-mode of this receiver. (inherited from LineReceiver)
  setRawMode(self)
Sets the raw mode of this receiver. (inherited from LineReceiver)
  startMessage(self, users)
  state_COMMAND(self, line)
(inherited from SMTP)
  state_DATA(self, line)
(inherited from SMTP)
  timedout(self)
(inherited from SMTP)
  validateFrom(self, helo, origin)
(inherited from SMTP)
  validateTo(self, user)
Determine whether or not a given user exists.

Class Variable Summary
NoneType service

Method Details

validateTo(self, user)

Determine whether or not a given user exists.
Returns:
True if the user exists, false otherwise.

Class Variable Details

service

Type:
NoneType
Value:
None                                                                   

Generated by Epydoc 1.1 on Fri Jun 27 03:45:35 2003 http://epydoc.sf.net