Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(698)

Delta Between Two Patch Sets: Doc/library/smtplib.rst

Issue 11281: smtplib: add ability to bind to specific source IP address/port
Left Patch Set: Created 2 years, 2 months ago
Right Patch Set: Created 2 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | Lib/smtplib.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 :mod:`smtplib` --- SMTP protocol client 1 :mod:`smtplib` --- SMTP protocol client
2 ======================================= 2 =======================================
3 3
4 .. module:: smtplib 4 .. module:: smtplib
5 :synopsis: SMTP protocol client (requires sockets). 5 :synopsis: SMTP protocol client (requires sockets).
6 .. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com> 6 .. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com>
7 7
8 8
9 .. index:: 9 .. index::
10 pair: SMTP; protocol 10 pair: SMTP; protocol
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 server = smtplib.SMTP('localhost') 395 server = smtplib.SMTP('localhost')
396 server.set_debuglevel(1) 396 server.set_debuglevel(1)
397 server.sendmail(fromaddr, toaddrs, msg) 397 server.sendmail(fromaddr, toaddrs, msg)
398 server.quit() 398 server.quit()
399 399
400 .. note:: 400 .. note::
401 401
402 In general, you will want to use the :mod:`email` package's features to 402 In general, you will want to use the :mod:`email` package's features to
403 construct an email message, which you can then send 403 construct an email message, which you can then send
404 via :meth:`~smtplib.SMTP.send_message`; see :ref:`email-examples`. 404 via :meth:`~smtplib.SMTP.send_message`; see :ref:`email-examples`.
LEFTRIGHT
« no previous file | Lib/smtplib.py » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7