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:
parent
71b04dab58
commit
6d5c6bdb25
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue