mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Use the \note and \warning macros where appropriate.
This commit is contained in:
parent
64a5aaf05c
commit
0aa811c527
45 changed files with 156 additions and 163 deletions
|
@ -99,12 +99,10 @@ received from the server.
|
|||
\begin{methoddesc}{connect}{\optional{host\optional{, port}}}
|
||||
Connect to a host on a given port. The defaults are to connect to the
|
||||
local host at the standard SMTP port (25).
|
||||
|
||||
If the hostname ends with a colon (\character{:}) followed by a
|
||||
number, that suffix will be stripped off and the number interpreted as
|
||||
the port number to use.
|
||||
|
||||
Note: This method is automatically invoked by the constructor if a
|
||||
This method is automatically invoked by the constructor if a
|
||||
host is specified during instantiation.
|
||||
\end{methoddesc}
|
||||
|
||||
|
@ -157,7 +155,7 @@ Returns a tuple consisting of code 250 and a full \rfc{822} address
|
|||
(including human name) if the user address is valid. Otherwise returns
|
||||
an SMTP error code of 400 or greater and an error string.
|
||||
|
||||
Note: many sites disable SMTP \samp{VRFY} in order to foil spammers.
|
||||
\note{Many sites disable SMTP \samp{VRFY} in order to foil spammers.}
|
||||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}{login}{user, password}
|
||||
|
@ -199,9 +197,9 @@ need to use different ESMTP options to different recipients you have
|
|||
to use the low-level methods such as \method{mail}, \method{rcpt} and
|
||||
\method{data} to send the message.)
|
||||
|
||||
\strong{Note:} The \var{from_addr} and \var{to_addrs} parameters are
|
||||
\note{The \var{from_addr} and \var{to_addrs} parameters are
|
||||
used to construct the message envelope used by the transport agents.
|
||||
The \class{SMTP} does not modify the message headers in any way.
|
||||
The \class{SMTP} does not modify the message headers in any way.}
|
||||
|
||||
If there has been no previous \samp{EHLO} or \samp{HELO} command this
|
||||
session, this method tries ESMTP \samp{EHLO} first. If the server does
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue