Home | Trees | Index | Help |
---|
Package tlslite :: Package integration :: Module SMTP_TLS :: Class SMTP_TLS |
|
SMTP
--+
|
SMTP_TLS
smtplib.SMTP
with TLS support.
Method Summary | |
---|---|
Puts the connection to the SMTP server into TLS mode. | |
Inherited from SMTP | |
Initialize a new instance. | |
Close the connection to the SMTP server. | |
Connect to a host on a given port. | |
SMTP 'DATA' command -- sends message data to server. | |
Send a command, and return its response code. | |
SMTP 'ehlo' command. | |
SMTP 'verify' command -- checks for address validity. | |
Get a reply from the server. | |
Does the server support a given SMTP service extension? | |
SMTP 'helo' command. | |
SMTP 'help' command. | |
Log in on an SMTP server that requires authentication. | |
SMTP 'mail' command -- begins mail xfer session. | |
SMTP 'noop' command -- doesn't do anything :> | |
Send a command to the server. | |
Terminate the SMTP session. | |
SMTP 'rcpt' command -- indicates 1 recipient for this mail. | |
SMTP 'rset' command -- resets session. | |
Send `str' to the server. | |
This command performs an entire mail transaction. | |
Set the debug output level. | |
SMTP 'verify' command -- checks for address validity. | |
SMTP 'verify' command -- checks for address validity. |
Class Variable Summary | |
---|---|
Inherited from SMTP | |
int |
debuglevel = 0 |
int |
does_esmtp = 0 |
NoneType |
ehlo_resp = None |
NoneType |
file = None |
NoneType |
helo_resp = None |
Method Details |
---|
starttls(self, username=None, password=None, sharedKey=None, certChain=None, privateKey=None, cryptoID=None, protocol=None, x509Fingerprint=None, x509TrustList=None, x509CommonName=None, settings=None)Puts the connection to the SMTP server into TLS mode. If the server supports TLS, this will encrypt the rest of the SMTP session. For client authentication, use one of these argument combinations:
Certificate-based server authentication is compatible with SRP or certificate-based client authentication. It is not compatible with shared-keys. The caller should be prepared to handle TLS-specific exceptions. See the client handshake functions intlslite.TLSConnection.TLSConnection for
details on which exceptions might be raised.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 21 21:56:54 2005 | http://epydoc.sf.net |