Kaydet (Commit) ccbb0edf authored tarafından Neil Schemenauer's avatar Neil Schemenauer

Add local_hostname to SMTP.__init__().

üst 6730f26c
...@@ -14,7 +14,8 @@ listener daemon. For details of SMTP and ESMTP operation, consult ...@@ -14,7 +14,8 @@ listener daemon. For details of SMTP and ESMTP operation, consult
\rfc{821} (\citetitle{Simple Mail Transfer Protocol}) and \rfc{1869} \rfc{821} (\citetitle{Simple Mail Transfer Protocol}) and \rfc{1869}
(\citetitle{SMTP Service Extensions}). (\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 A \class{SMTP} instance encapsulates an SMTP connection. It has
methods that support a full repertoire of SMTP and ESMTP methods that support a full repertoire of SMTP and ESMTP
operations. If the optional host and port parameters are given, the operations. If the optional host and port parameters are given, the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment