Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6d5c6bd

Browse files
committed
Removed bogus connect() call in SMTP example; reported by Travis
B. Hartwell <[email protected]>. Removed second copy of the "See also" section!
1 parent 71b04da commit 6d5c6bd

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

Doc/lib/libsmtplib.tex

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -259,18 +259,6 @@ \subsection{SMTP Example \label{SMTP-example}}
259259
260260
server = smtplib.SMTP('localhost')
261261
server.set_debuglevel(1)
262-
server.connect()
263262
server.sendmail(fromaddr, toaddrs, msg)
264263
server.quit()
265264
\end{verbatim}
266-
267-
268-
\begin{seealso}
269-
\seetext{Internet \rfc{821}, \citetitle{Simple Mail Transfer Protocol}.
270-
Available online at
271-
\url{http://info.internet.isi.edu/in-notes/rfc/files/rfc821.txt}.}
272-
273-
\seetext{Internet \rfc{1869}, \citetitle{SMTP Service Extensions}.
274-
Available online at
275-
\url{http://info.internet.isi.edu/in-notes/rfc/files/rfc1869.txt}.}
276-
\end{seealso}

0 commit comments

Comments
 (0)