Removed bogus connect() call in SMTP example; reported by Travis

B. Hartwell <slt5v@cc.usu.edu>.

Removed second copy of the "See also" section!
This commit is contained in:
Fred Drake 2000-04-05 22:12:06 +00:00
parent 71b04dab58
commit 6d5c6bdb25
1 changed files with 0 additions and 12 deletions

View File

@ -259,18 +259,6 @@ print "Message length is " + `len(msg)`
server = smtplib.SMTP('localhost')
server.set_debuglevel(1)
server.connect()
server.sendmail(fromaddr, toaddrs, msg)
server.quit()
\end{verbatim}
\begin{seealso}
\seetext{Internet \rfc{821}, \citetitle{Simple Mail Transfer Protocol}.
Available online at
\url{http://info.internet.isi.edu/in-notes/rfc/files/rfc821.txt}.}
\seetext{Internet \rfc{1869}, \citetitle{SMTP Service Extensions}.
Available online at
\url{http://info.internet.isi.edu/in-notes/rfc/files/rfc1869.txt}.}
\end{seealso}