Package twisted :: Package protocols :: Module smtp :: Class ESMTPClient
[show private | hide private]
[frames | no frames]

Class ESMTPClient

BaseProtocol --+            
               |            
        Protocol --+        
                   |        
        LineReceiver --+    
                       |    
              SMTPClient --+
                           |
                          ESMTPClient


Method Summary
  __init__(self, secret, *args, **kw)
  clearLineBuffer(self)
Clear buffered data. (inherited from LineReceiver)
  connectionFailed(self)
(Deprecated) (inherited from Protocol)
  connectionLost(self, reason)
We are no longer connected (inherited from SMTPClient)
  connectionMade(self)
Called when a connection is made.
  dataReceived(self, data)
Protocol.dataReceived. (inherited from LineReceiver)
  esmtpState_auth(self, code, resp)
  esmtpState_challenge(self, code, resp)
  esmtpState_ehlo(self, code, resp)
  finishedFileTransfer(self, lastsent)
(inherited from SMTPClient)
  getMailData(self)
Return file-like object containing data of message to be sent. (inherited from SMTPClient)
  getMailFrom(self)
Return the email address the mail is from. (inherited from SMTPClient)
  getMailTo(self)
Return a list of emails to send to. (inherited from SMTPClient)
  lineLengthExceeded(self, line)
Called when the maximum line length has been reached. (inherited from LineReceiver)
  lineReceived(self, line)
Override this for when each line is received. (inherited from SMTPClient)
  rawDataReceived(self, data)
Override this for when raw data is received. (inherited from LineReceiver)
  registerAuthenticator(self, auth)
  sendLine(self, line)
Logging sendLine (inherited from SMTPClient)
  sentMail(self, code, resp, numOk, addresses, log)
Called when an attempt to send an email is completed. (inherited from SMTPClient)
  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)
  smtpConnectionFailed(self, code, resp)
(inherited from SMTPClient)
  smtpState_data(self, code, resp)
(inherited from SMTPClient)
  smtpState_disconnect(self, code, resp)
(inherited from SMTPClient)
  smtpState_from(self, code, resp)
(inherited from SMTPClient)
  smtpState_helo(self, code, resp)
(inherited from SMTPClient)
  smtpState_msgSent(self, code, resp)
(inherited from SMTPClient)
  smtpState_to(self, code, resp)
(inherited from SMTPClient)
  smtpState_toOrData(self, code, resp)
(inherited from SMTPClient)
  smtpTransferFailed(self, code, resp)
(inherited from SMTPClient)
  transformChunk(self, chunk)
(inherited from SMTPClient)

Class Variable Summary
int heloFallback
int requireAuthentication

Method Details

connectionMade(self)

Called when a connection is made.

This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.
Overrides:
twisted.protocols.smtp.SMTPClient.connectionMade (inherited documentation)

Class Variable Details

heloFallback

Type:
int
Value:
1                                                                      

requireAuthentication

Type:
int
Value:
0                                                                      

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