diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-03-09 15:35:55 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-03-09 15:35:55 (GMT) |
commit | 1190a38d336ad65f505b00b9057e0f136f777115 (patch) | |
tree | 011dcb63aa49369edf5db8ea1f51e43d16e8dabf /Doc | |
parent | fd61107e7a24af2cc25a3a7abbdb82656fbe9335 (diff) | |
download | cpython-1190a38d336ad65f505b00b9057e0f136f777115.zip cpython-1190a38d336ad65f505b00b9057e0f136f777115.tar.gz cpython-1190a38d336ad65f505b00b9057e0f136f777115.tar.bz2 |
Patch #957003: Implement smtplib.LMTP.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libsmtplib.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex index e0567e6..f7b8098 100644 --- a/Doc/lib/libsmtplib.tex +++ b/Doc/lib/libsmtplib.tex @@ -41,6 +41,23 @@ are also optional, and can contain a PEM formatted private key and certificate chain file for the SSL connection. \end{classdesc} +\begin{classdesc}{LMTP}{\optional{host\optional{, port\optional{, + local_hostname}}}} + +The LMTP protocol, which is very similar to ESMTP, is heavily based +on the standard SMTP client. It's common to use Unix sockets for LMTP, +so our connect() method must support that as well as a regular +host:port server. To specify a Unix socket, you must use an absolute +path for \var{host}, starting with a '/'. + +Authentication is supported, using the regular SMTP mechanism. When +using a Unix socket, LMTP generally don't support or require any +authentication, but your mileage might vary. + +\versionadded{2.6} + +\end{classdesc} + A nice selection of exceptions is defined as well: \begin{excdesc}{SMTPException} |