From: Carl Bordum Hansen Date: Sun, 14 Jul 2019 07:46:19 +0000 (+0200) Subject: bpo-36261: Improve example of the preamble field in email docs (GH-14751) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8efade91b12a13102a09a3856179021e579da5e9;p=python bpo-36261: Improve example of the preamble field in email docs (GH-14751) --- diff --git a/Doc/includes/email-mime.py b/Doc/includes/email-mime.py index c610242f11..6af2be0b08 100644 --- a/Doc/includes/email-mime.py +++ b/Doc/includes/email-mime.py @@ -14,7 +14,7 @@ msg['Subject'] = 'Our family reunion' # family = the list of all recipients' email addresses msg['From'] = me msg['To'] = ', '.join(family) -msg.preamble = 'Our family reunion' +msg.preamble = 'You will not see this in a MIME-aware mail reader.\n' # Open the files in binary mode. Use imghdr to figure out the # MIME subtype for each specific image.