Released 2024-05-23
- Drop support for Python < 3.8.
- Use
pyproject.tomlfor packaging metadata. - Use
flit_coreas build backend. - Apply code formatting and linting tools.
- Add static type annotations.
- Deprecate the
__version__attribute. Use feature detection orimportlib.metadata.version("flask-mail")instead. - Indicate that the deprecated
is_bad_headerswill be removed in the next version. - Fix the
email_dispatchedsignal to pass the current app as the sender andmessageas an argument, rather than the other way around. Attachment.datamay not beNone.Attachment.content_typewill be detected based onfilenameanddataand will not beNone.
Released 2014-09-28
- Add an option for force ASCII file attachments
- Fix
force_textfunction - Fix some Python 3 support regarding email policy.
- Support ESMTP options.
- Fix various Unicode issues related to message attachments, subjects, and email addresses.
Released 2013-06-14
- Add initial Python 3 support.
Released 2013-04-11
- Remove stray
printstatement.
Released 2013-04-04
- Fix a bug with the new state object.
Released 2013-04-03
- Fix a bug with duplicate recipients.
- Change configuration options to be less confusing. Update settings accordin
ly:
DEFAULT_MAIL_SENDERis nowMAIL_DEFAULT_SENDER.DEFAULT_MAX_EMAILSis nowMAIL_MAX_EMAILS.MAIL_FAIL_SILENTLYis no longer used.MAIL_SUPPRESS_SENDnow defaults toTESTINGsetting value.
- General API cleanup as things were happening in a few different places.
Released 2013-03-11
- Fix bug with cc, and bcc fields not being lists.
Released 2013-03-03
- Fix bug with non-ascii characters in email address.
MAIL_FAIL_SILENTLYconfig value defaults toFalse.- Bcc header no longer set as some mail servers forward it to the recipient.
Released 2012-11-20
- Allow messages to be sent without a body.
Released 2012-09-27
- Add
extra_headerstoMessageclass.
Released 2012-09-16
- Add
__str__method toMessageclass. - Add message character set option which defaults to utf-8.
Released 2012-09-05
- Date and message ID headers specified.
Released 2012-08-29
- Initial development by Dan Jacob and Ron DuPlain. Previously there was not a change log.