summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-06-26 07:51:32 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-06-26 07:51:32 (GMT)
commitca0383d3a3d751418227cdcf3b609ed6417eb6ee (patch)
tree5742ef158b771a3b355ded1ac6ad637bf52793b3 /Doc/lib
parent711cad769a60b4a53520bb1daf580d2ca252b450 (diff)
downloadcpython-ca0383d3a3d751418227cdcf3b609ed6417eb6ee.zip
cpython-ca0383d3a3d751418227cdcf3b609ed6417eb6ee.tar.gz
cpython-ca0383d3a3d751418227cdcf3b609ed6417eb6ee.tar.bz2
Fix bug #573916. Sender and recipients reversed in email example.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/email.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/email.tex b/Doc/lib/email.tex
index a66c8bc..5ba0cea 100644
--- a/Doc/lib/email.tex
+++ b/Doc/lib/email.tex
@@ -481,8 +481,8 @@ def main():
# Create the enclosing (outer) message
outer = MIMEBase('multipart', 'mixed')
outer['Subject'] = 'Contents of directory %s' % os.path.abspath(dir)
- outer['To'] = sender
- outer['From'] = COMMASPACE.join(recips)
+ outer['To'] = COMMASPACE.join(recips)
+ outer['From'] = sender
outer.preamble = 'You will not see this in a MIME-aware mail reader.\n'
# To guarantee the message ends with a newline
outer.epilogue = ''