mailer
Compose and send emails from Dart. Supports file attachments and HTML emails.
7.2.0
139K downloads/mo
#987 most downloaded on pub.dev
dart-mailer/mailer
What this package is like to depend on
Last release 1 months ago
21 Jul 2026
Ships fairly regularly
a new release about every 4 months
Most releases are documented
notes for 48 of 67 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
67 releases · first in 2013
4 releases in the last 12 months
see the full history below
Release timeline
67 releases · May 2013 to Jul 2026Releases
latest 60 of 67-
7.2.021 Jul 2026Release notes
Open source →- Upgrade
punycoderto v0.3.0. - Refactor IDNA module to use
domainToAsciianddomainToUnicodefrompunycoder. - Refactor
Address.encodedAddressto useemailToAsciifrompunycoder. - Maintain
IdnaExceptionfor backward compatibility by wrappingpunycoder'sFormatException.
- Upgrade
-
7.1.024 Feb 2026Release notes
Open source →- allow mime 2.0.0 and intl up to 0.21.0 Thanks https://github.com/karelklic
-
7.0.024 Feb 2026Release notes
Open source →7.0.0
- Major Refactoring: Simplified library structure and standardized exports.
- Renamed internal
IRclasses toMime. - Moved files into
core,mime, andsmtpdirectories. - Standardized on relative imports within the package.
- Moved to community repository (github.com/dart-mailer/mailer)
- Renamed internal
- Feature: Added support for RFC 3030 (CHUNKING and BINARYMIME).
- Feature: Implemented Custom Address Validation API.
- Added
PracticalAddressValidator(recommended for input validation). - Added
StrictAddressValidator(RFC 5322 compliance). - Added
PermissiveAddressValidatorandSimpleAddressValidator.
- Added
- Feature: Correct IDNA encoding for domains.
- Proper NFC Unicode normalization using
unorm_dart. - Case folding and label validation (RFC 5890).
- Proper NFC Unicode normalization using
- Breaking: Removed
lib/src/core/entities.dart. Importpackage:mailer/mailer.dartinstead. - Update: Bumped SDK constraint to Dart 3.
Release notes
Open source →- Major Refactoring: Simplified library structure and standardized exports.
- Renamed internal
IRclasses toMime. - Moved files into
core,mime, andsmtpdirectories. - Standardized on relative imports within the package.
- Moved to community repository (github.com/dart-mailer/mailer)
- Renamed internal
- Feature: Added support for RFC 3030 (CHUNKING and BINARYMIME).
- Feature: Implemented Custom Address Validation API.
- Added
PracticalAddressValidator(recommended for input validation). - Added
StrictAddressValidator(RFC 5322 compliance). - Added
PermissiveAddressValidatorandSimpleAddressValidator.
- Added
- Feature: Correct IDNA encoding for domains.
- Proper NFC Unicode normalization using
unorm_dart. - Case folding and label validation (RFC 5890).
- Proper NFC Unicode normalization using
- Breaking: Removed
lib/src/core/entities.dart. Importpackage:mailer/mailer.dartinstead. - Update: Bumped SDK constraint to Dart 3.
- Major Refactoring: Simplified library structure and standardized exports.
-
6.6.030 Oct 2025Release notes
Open source →- Add Amazon simple Email Service stmp server Thanks https://github.com/karelklic
-
6.5.027 Jul 2025 -
6.4.113 Jan 2025Release notes
Open source →- Fix dependency range for intl library.
Thanks https://github.com/isoos and https://github.com/mnordine
- Fix dependency range for intl library.
-
6.4.008 Jan 2025Release notes
Open source →- Switch to
^0.17instead of range for the intl dependency.
Thanks https://github.com/mnordine
- Switch to
-
6.3.003 Dec 2024 -
6.2.026 Sep 2024Release notes
Open source →- Limit base64 encoded lines to 76 characters. Thanks https://github.com/isoos
-
6.1.221 Jul 2024Release notes
Open source →- Fix error code if recipients mail address is empty.
Thanks https://github.com/amugofjava
- Fix error code if recipients mail address is empty.
-
6.1.106 Jul 2024 -
6.1.008 Feb 2024Release notes
Open source →- Add auth plain
Thanks https://github.com/michep - Allow
intl 0.19.0as dependency
- Add auth plain
-
6.0.118 Apr 2023 -
6.0.001 Jan 2023Release notes
Open source →- Allow
intl 0.18as dependency - Major version upgrade because
mail_sender.dartno longer exposesmailSendTasks. - Switch from
pedantictolints
- Allow
-
5.3.011 Dec 2022Release notes
Open source →- add possibility to add custom header to attachments
Thanks https://github.com/dsyrstad
- add possibility to add custom header to attachments
-
5.2.002 Jul 2022 -
5.1.107 May 2022Release notes
Open source →- Specify locale for date headers
Thanks https://github.com/michael-spf for the bug report
- Specify locale for date headers
-
5.1.022 Jan 2022Release notes
Open source →- Include the SMTP error code in the authentication failure exception
Thanks: https://github.com/jonasfj - Add support for parsing a list of rfc5322 mailbox-formatted addresses
Thanks: https://github.com/dsyrstad
- Include the SMTP error code in the authentication failure exception
-
5.0.215 Aug 2021Release notes
Open source →- Fix Null error when closing smtp connection
Thanks: https://github.com/hpoul
- Fix Null error when closing smtp connection
-
5.0.108 Jul 2021 -
5.0.031 Mar 2021Release notes
Open source →- minor interface changes. Some are now const / final objects.
- added a lot of tests
- names of addresses may contain unicode characters now
still no punycode support!
-
4.0.025 Feb 2021 -
3.3.001 Feb 2021 -
3.2.110 Sep 2020 -
3.2.009 Sep 2020Release notes
Open source →- The generation of the mailbox address is done via
Address.toString(), so application can override it to provide its own sanitization, if necessary.
- The generation of the mailbox address is done via
-
3.1.009 Sep 2020Release notes
Open source →- Improve gmail integration utilities.
- Discourage use of username/password authentication through deprecation.
-
3.0.425 Oct 2019 -
3.0.304 Oct 2019 -
3.0.227 Jul 2019Release notes
Open source →- some (dart) file operations changed the return type from
List<int>toUint8ListImplemented the proposed fixes from: https://groups.google.com/forum/#!topic/flutter-announce/LTe4SYU8-0Q
- some (dart) file operations changed the return type from
-
3.0.112 Jul 2019 -
3.0.005 Jul 2019Release notes
Open source →- NO BUGFIXES. There is no need to update!
- remove dart 1 compatible code. mailer does require dart 2.2.2 or higer now.
- remove
catchExceptionsflag. mailer now always throws. - change return value of
sendfromList<SendReport>toSendReport - add persistent connection (idea from https://github.com/jodinathan)
- add xoauth2 authentication method (see examples)
-
2.6.104 Oct 2019Nothing published for this version
-
2.6.009 Aug 2019Nothing published for this version
-
2.5.105 Jul 2019 -
2.5.017 Jun 2019 -
2.4.009 Jun 2019 -
2.3.001 Apr 2019Release notes
Open source →- add timeout option. (https://github.com/pjkroll)
- add
catchExceptionsflag (currently true, but default will change to false) improve exceptions. - remove username from authentication failure exception (see issue #79)
-
2.2.104 Feb 2019Release notes
Open source →- fix regular expression which is used to validate the name of an email address.
-
2.2.021 Jan 2019 -
2.1.209 Jan 2019 -
2.1.129 Nov 2018Release notes
Open source →- if a header value is
nullsend empty string instead. - if mime library fails to identify content use
text/plainandapplication/octet-stream
as defaults. - mention mailer2 and mailer3 in README
- if a header value is
-
2.1.017 Nov 2018 -
2.0.208 Oct 2018 -
2.0.124 Sep 2018Nothing published for this version
-
2.0.020 Sep 2018Nothing published for this version
-
1.2.320 Aug 2018Nothing published for this version
-
1.2.219 Aug 2018Nothing published for this version
-
1.2.117 Aug 2018Nothing published for this version
-
1.2.017 Aug 2018Nothing published for this version
-
1.1.426 May 2017 -
1.1.324 May 2017Release notes
Open source →- Fix occasional issue with completer already completed. Due to an error with SMTP server closing connection after sending the email.
-
1.1.223 May 2017 -
1.1.111 Sep 2016Release notes
Open source →- loosen crypto dependency to '>=0.9.0 <3.0.0' as suggested in the crypto changelog
-
1.1.016 Aug 2016Release notes
Open source →- merge crypto util fix and update example
- upgrade unittest to test and move it to dev_dependencies
- added OpenMailBoxSmtpOptions
- improve address parsing and sanitization (from hoylen)
- cleanup chunkEncodedBytes and associated test
- update example to allow CC and BCC
-
1.0.128 Jul 2016 -
1.0.004 Oct 2015 -
0.8.1222 Sep 2014Nothing published for this version
-
0.8.1116 Dec 2013Nothing published for this version
-
0.8.1011 Nov 2013Nothing published for this version
-
0.8.730 Oct 2013Nothing published for this version