diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-14 07:53:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-14 07:53:15 (GMT) |
commit | 262779fb5038db7574180c6a89b4f0968f29bd79 (patch) | |
tree | bef42105c9d0826f2b11e4a63a86af41cc5e8912 /Doc | |
parent | b1e4d1b6032d4c82b549233fa08a2c7cfe7e818b (diff) | |
download | cpython-262779fb5038db7574180c6a89b4f0968f29bd79.zip cpython-262779fb5038db7574180c6a89b4f0968f29bd79.tar.gz cpython-262779fb5038db7574180c6a89b4f0968f29bd79.tar.bz2 |
bpo-36261: Improve example of the preamble field in email docs (GH-14751)
(cherry picked from commit 8efade91b12a13102a09a3856179021e579da5e9)
Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/includes/email-mime.py | 2 |
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. |