Add local_hostname to SMTP.__init__().

This commit is contained in:
Neil Schemenauer 2002-03-24 15:41:40 +00:00
parent 6730f26cb0
commit ccbb0edf0e
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ listener daemon. For details of SMTP and ESMTP operation, consult
\rfc{821} (\citetitle{Simple Mail Transfer Protocol}) and \rfc{1869}
(\citetitle{SMTP Service Extensions}).
\begin{classdesc}{SMTP}{\optional{host\optional{, port}}}
\begin{classdesc}{SMTP}{\optional{host\optional{, port\optional{,
local_hostname}}}}
A \class{SMTP} instance encapsulates an SMTP connection. It has
methods that support a full repertoire of SMTP and ESMTP
operations. If the optional host and port parameters are given, the