email.policy: Policy Objects

email.policy: Policy Objects

New in version 3.3.

Source code: Lib/email/policy.py

The email package’s prime focus is the handling of email messages as described by the various email and MIME RFCs. However, the general format of email messages (a block of header fields each consisting of a name followed by a colon followed by a value, the whole block followed by a blank line and an arbitrary ‘body’), is a format that has found utility outside of the realm of