This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author era
Recipients barry, era, r.david.murray
Date 2019-03-11.11:27:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552303649.8.0.648804018015.issue36261@roundup.psfhosted.org>
In-reply-to
Content
Several of the examples in the email module documentation modify the preamble.

This is not good practice. The email MIME preamble is really only useful for communicating information about MIME itself, not for general human-readable content like 'Our family reunion'.

The MIME preamble is problematic because it typically only supports ASCII and often defaults to an English-language message, even when applications are used in locales where English is not widely understood.  For this reason, it is moderately useful to be able to override the preamble from Python code; but this should by no means be done routinely, and the documentation should certainly not demonstrate this in basic examples.
History
Date User Action Args
2019-03-11 11:27:29erasetrecipients: + era, barry, r.david.murray
2019-03-11 11:27:29erasetmessageid: <1552303649.8.0.648804018015.issue36261@roundup.psfhosted.org>
2019-03-11 11:27:29eralinkissue36261 messages
2019-03-11 11:27:29eracreate