From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 14 Jul 2019 07:51:49 +0000 (-0700) Subject: bpo-36261: Improve example of the preamble field in email docs (GH-14751) X-Git-Tag: v3.7.5rc1~250 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb58024688050385ed2fd93caf02a5807d1ccfed;p=thirdparty%2FPython%2Fcpython.git bpo-36261: Improve example of the preamble field in email docs (GH-14751) (cherry picked from commit 8efade91b12a13102a09a3856179021e579da5e9) Co-authored-by: Carl Bordum Hansen --- diff --git a/Doc/includes/email-mime.py b/Doc/includes/email-mime.py index c610242f11f8..6af2be0b08a4 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.