Home | Trees | Index | Help |
---|
Package twisted :: Package protocols :: Module smtp :: Class SMTPSender |
|
BaseProtocol
--+ |Protocol
--+ |LineReceiver
--+ |SMTPClient
--+ | SMTPSender
Method Summary | |
---|---|
__init__(self,
identity)
(inherited from SMTPClient )
| |
(Deprecated) (inherited from Protocol )
| |
Called when the connection is shut down. (inherited from Protocol )
| |
Called when a connection is made. (inherited from SMTPClient )
| |
Protocol.dataReceived. (inherited from LineReceiver )
| |
Return file-like object containing data of message to be sent. | |
Return the email address the mail is from. | |
Return a list of emails to send to. | |
Called when the maximum line length has been reached. (inherited from LineReceiver )
| |
Override this for when each line is received. (inherited from SMTPClient )
| |
pauseProducing(self)
(inherited from SMTPClient )
| |
Override this for when raw data is received. (inherited from LineReceiver )
| |
Write another (inherited from SMTPClient )
| |
Sends a line to the other end of the connection. (inherited from LineReceiver )
| |
sendToOrData(self)
(inherited from SMTPClient )
| |
Called with list of emails to which we sent the message. | |
Sets the line-mode of this receiver. (inherited from LineReceiver )
| |
Sets the raw mode of this receiver. (inherited from LineReceiver )
| |
smtpCode_220_helo(self,
line)
(inherited from SMTPClient )
| |
smtpCode_221_quit(self,
line)
(inherited from SMTPClient )
| |
smtpCode_250_afterData(self,
line)
(inherited from SMTPClient )
| |
smtpCode_250_afterFrom(self,
line)
(inherited from SMTPClient )
| |
smtpCode_250_from(self,
line)
(inherited from SMTPClient )
| |
smtpCode_250_to(self,
line)
(inherited from SMTPClient )
| |
smtpCode_354_data(self,
line)
(inherited from SMTPClient )
| |
smtpCode_550_to(self,
line)
(inherited from SMTPClient )
| |
Deal with unexpected SMTP messages. | |
stopProducing(self)
(inherited from SMTPClient )
|
Class Variable Summary | |
---|---|
int |
done
|
Method Details |
---|
getMailData(self)Return file-like object containing data of message to be sent. The file should be a text file with local line ending convention, i.e. readline() should return a line ending in '\n'.
|
getMailFrom(self)Return the email address the mail is from.
|
getMailTo(self)Return a list of emails to send to.
|
sentMail(self, addresses)Called with list of emails to which we sent the message.
|
smtpCode_default(self, line)Deal with unexpected SMTP messages. |
Class Variable Details |
---|
done
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Thu May 8 13:16:47 2003 | http://epydoc.sf.net |