mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Add local_hostname to SMTP.__init__().
This commit is contained in:
parent
6730f26cb0
commit
ccbb0edf0e
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue