Changelog
v0.6.0 (in development)
Support Python 3.10, 3.11, and 3.12
Drop support for Python 3.6
Migrated from setuptools to hatch
v0.5.0 (2021-03-27)
Attachments’ filenames can now be
None
Added a
decompose()
function for decomposing anEmailMessage
into aMailItem
plus headersAdded a
decompose_simple()
function for decomposing anEmailMessage
into a text body, HTML body, attachments, and headersThe
subject
argument to thecompose()
function & method can now beNone
/omittedIf an address argument to
compose()
is set to an empty list, the corresponding header will no longer be present in the resulting e-mailGave
Related
aget_root()
method
v0.4.0 (2021-03-13)
Using
|
,&
, or^
on aMailItem
and astr
now automatically converts thestr
to aTextBody
The
from_
argument to thecompose()
function & method can now beNone
/omittedformat_addresses()
has been moved to mailbits but is still re-exported from this library for the time being.Breaking: All arguments to the
compose()
function & method are now keyword-only
v0.3.0 (2021-03-11)
Gave the
from_file()
classmethodsinline
andcontent_id
argumentsGave all classes optional
content_id
attributesAdded
TextBody
,HTMLBody
,Alternative
,Mixed
, andRelated
classes for constructing complex e-mails
v0.2.0 (2021-03-09)
Gave
BytesAttachment
andFileAttachment
each afrom_file()
classmethodThe
from_
andreply_to
arguments tocompose()
may now be passed lists of addressesSupport address groups
Added
assemble_content_type()
,format_addresses()
, andreply_quote()
utility functionsAdded an
EmailAttachment
class
v0.1.0 (2021-03-09)
Initial release