mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fixed documentation for SMTPHandler
This commit is contained in:
@@ -1133,8 +1133,7 @@ address via SMTP.
|
||||
\begin{classdesc}{SMTPHandler}{mailhost, fromaddr, toaddrs, subject}
|
||||
Returns a new instance of the \class{SMTPHandler} class. The
|
||||
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
|
||||
domain names (That's what the \var{mailhost} is for). To specify a
|
||||
line of the email. The \var{toaddrs} should be a list of strings. To specify a
|
||||
non-standard SMTP port, use the (host, port) tuple format for the
|
||||
\var{mailhost} argument. If you use a string, the standard SMTP port
|
||||
is used.
|
||||
|
||||
Reference in New Issue
Block a user