Commit 8efade91 authored by Carl Bordum Hansen's avatar Carl Bordum Hansen Committed by Steve Dower

bpo-36261: Improve example of the preamble field in email docs (GH-14751)

parent dffca9e9
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment