Changelog
v0.6.0 (in development)
Support Python 3.14
Drop support for Python 3.8 and 3.9
v0.5.1 (2024-12-01)
Support Python 3.10, 3.11, 3.12, and 3.13
Drop support for Python 3.6 and 3.7
Migrated from setuptools to hatch
v0.5.0 (2021-03-27)
Attachments’ filenames can now be
NoneAdded a
decompose()function for decomposing anEmailMessageinto aMailItemplus headersAdded a
decompose_simple()function for decomposing anEmailMessageinto a text body, HTML body, attachments, and headersThe
subjectargument 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
Relatedaget_root()method
v0.4.0 (2021-03-13)
Using
|,&, or^on aMailItemand astrnow automatically converts thestrto aTextBodyThe
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()classmethodsinlineandcontent_idargumentsGave all classes optional
content_idattributesAdded
TextBody,HTMLBody,Alternative,Mixed, andRelatedclasses for constructing complex e-mails
v0.2.0 (2021-03-09)
Gave
BytesAttachmentandFileAttachmenteach afrom_file()classmethodThe
from_andreply_toarguments tocompose()may now be passed lists of addressesSupport address groups
Added
assemble_content_type(),format_addresses(), andreply_quote()utility functionsAdded an
EmailAttachmentclass
v0.1.0 (2021-03-09)
Initial release