summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorCarl Bordum Hansen <carl@bordum.dk>2019-07-14 07:46:19 (GMT)
committerSteve Dower <steve.dower@python.org>2019-07-14 07:46:18 (GMT)
commit8efade91b12a13102a09a3856179021e579da5e9 (patch)
treeaacc4195a2cbaa51617d092766587ed01102dc6b /Doc
parentdffca9e925ee5c3072663cbe8d4d4768406d5307 (diff)
downloadcpython-8efade91b12a13102a09a3856179021e579da5e9.zip
cpython-8efade91b12a13102a09a3856179021e579da5e9.tar.gz
cpython-8efade91b12a13102a09a3856179021e579da5e9.tar.bz2
bpo-36261: Improve example of the preamble field in email docs (GH-14751)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/includes/email-mime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/email-mime.py b/Doc/includes/email-mime.py
index c610242..6af2be0 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.