projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffca9e
)
bpo-36261: Improve example of the preamble field in email docs (GH-14751)
author
Carl Bordum Hansen
<carl@bordum.dk>
Sun, 14 Jul 2019 07:46:19 +0000
(09:46 +0200)
committer
Steve Dower
<steve.dower@python.org>
Sun, 14 Jul 2019 07:46:18 +0000
(09:46 +0200)
Doc/includes/email-mime.py
patch
|
blob
|
history
diff --git
a/Doc/includes/email-mime.py
b/Doc/includes/email-mime.py
index c610242f11f843f5c5916628fa55142a929262cc..6af2be0b08a48da3dc0508eecf6f20ef5df1e103 100644
(file)
--- 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 reunio
n'
+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.