diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libsmtplib.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex index c5db75f..7ab942b 100644 --- a/Doc/lib/libsmtplib.tex +++ b/Doc/lib/libsmtplib.tex @@ -178,6 +178,14 @@ or may raise the following exceptions: \end{description} \end{methoddesc} +\begin{methoddesc}{starttls}{\optional{keyfile, certfile}} +Put the SMTP connection in TLS (Transport Layer Security) mode. All SMTP +commands that follow will be encrypted. You should then call ehlo() again. + +If \var{keyfile} and \var{certfile} are provided, these are passed to the +socket module's ssl function. +\end{methoddesc} + \begin{methoddesc}{sendmail}{from_addr, to_addrs, msg\optional{, mail_options, rcpt_options}} Send mail. The required arguments are an \rfc{822} from-address |