From: Raymond Hettinger Date: Wed, 26 Jun 2002 07:51:32 +0000 (+0000) Subject: Fix bug #573916. Sender and recipients reversed in email example. X-Git-Tag: v2.3c1~5212 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca0383d3a3d751418227cdcf3b609ed6417eb6ee;p=python Fix bug #573916. Sender and recipients reversed in email example. --- diff --git a/Doc/lib/email.tex b/Doc/lib/email.tex index a66c8bca66..5ba0ceaea2 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 = ''