summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-05 22:12:06 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-05 22:12:06 (GMT)
commit6d5c6bdb2521bff4d5f90bf72f136ca52d82dca4 (patch)
tree2315df10c50497e683e40b2571a598bcec136e95 /Doc
parent71b04dab58d7600d0fb0292d000c25db6f55f36a (diff)
downloadcpython-6d5c6bdb2521bff4d5f90bf72f136ca52d82dca4.zip
cpython-6d5c6bdb2521bff4d5f90bf72f136ca52d82dca4.tar.gz
cpython-6d5c6bdb2521bff4d5f90bf72f136ca52d82dca4.tar.bz2
Removed bogus connect() call in SMTP example; reported by Travis
B. Hartwell <slt5v@cc.usu.edu>. Removed second copy of the "See also" section!
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libsmtplib.tex12
1 files changed, 0 insertions, 12 deletions
diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex
index 445a417..9638425 100644
--- a/Doc/lib/libsmtplib.tex
+++ b/Doc/lib/libsmtplib.tex
@@ -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}