diff options
Diffstat (limited to 'Doc/lib/libsmtplib.tex')
-rw-r--r-- | Doc/lib/libsmtplib.tex | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex index 484ef1f..526b4a1 100644 --- a/Doc/lib/libsmtplib.tex +++ b/Doc/lib/libsmtplib.tex @@ -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 |