mirror of
https://github.com/python/cpython.git
synced 2025-09-15 21:26:04 +00:00
Fixed documentation for SMTPHandler
This commit is contained in:
parent
1fd4db9c6c
commit
84df97fdd6
1 changed files with 1 additions and 2 deletions
|
@ -1133,8 +1133,7 @@ address via SMTP.
|
||||||
\begin{classdesc}{SMTPHandler}{mailhost, fromaddr, toaddrs, subject}
|
\begin{classdesc}{SMTPHandler}{mailhost, fromaddr, toaddrs, subject}
|
||||||
Returns a new instance of the \class{SMTPHandler} class. The
|
Returns a new instance of the \class{SMTPHandler} class. The
|
||||||
instance is initialized with the from and to addresses and subject
|
instance is initialized with the from and to addresses and subject
|
||||||
line of the email. The \var{toaddrs} should be a list of strings without
|
line of the email. The \var{toaddrs} should be a list of strings. To specify a
|
||||||
domain names (That's what the \var{mailhost} is for). To specify a
|
|
||||||
non-standard SMTP port, use the (host, port) tuple format for the
|
non-standard SMTP port, use the (host, port) tuple format for the
|
||||||
\var{mailhost} argument. If you use a string, the standard SMTP port
|
\var{mailhost} argument. If you use a string, the standard SMTP port
|
||||||
is used.
|
is used.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue