NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #816 most downloaded on pub.dev
Compose and send emails from Dart. Supports file attachments and HTML emails.
Latest stable
7.3.0
Last release 14 days ago
08 Nov 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 51 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
70 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Only use SMTPUTF8 if the message requires it, i.e. an address has a non-ASCII local part (#279). Previously SMTPUTF8 was used whenever the server offe
MAIL FROM, RCPT TO) to punycode, like in the headers.SmtpServer(..., useBinaryMime: true)).
Previously it was used whenever the server offered it, which could lead to bounces if a relay
could not forward the binary message, or to broken DKIM signatures if a relay converted it.
See the README before enabling it.Hardening: Only use BINARYMIME if the server also supports CHUNKING (rfc3030). Previously binary content could be sent with DATA, where a line with a
DATA, where a line with a single . ends the message.BODY=BINARYMIME on MAIL FROM when sending binary content.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Security: Fix SMTP command and MIME header injection ( GHSA-j9fr-mx5c-8w5v ).
<, >, spaces in unquoted envelope addresses.ccRecipients and bccRecipients (new problem codes CC_ADDRESS and BCC_ADDRESS).PersistentConnection.send now validates messages and throws SmtpMessageValidationException.timeout now applies to the whole response instead of every line.PersistentConnection sends messages one after another and reconnects after a failed send.thanks https://github.com/mark-dropbear
thanks https://github.com/mark-dropbear
punycoder to v0.3.0.domainToAscii and domainToUnicode from punycoder.Address.encodedAddress to use emailToAscii from punycoder.IdnaException for backward compatibility by wrapping punycoder's FormatException.mime 2.0.0 is now supported again
mime 2.0.0 is now supported again
Major Refactoring: Simplified library structure and standardized exports.
IR classes to Mime.core, mime, and smtp directories.PracticalAddressValidator (recommended for input validation).StrictAddressValidator (RFC 5322 compliance).PermissiveAddressValidator and SimpleAddressValidator.unorm_dart.lib/src/core/entities.dart. Import package:mailer/mailer.dart instead.Add Amazon simple Email Service stmp server Thanks https://github.com/karelklic
Add brevo stmp server Thanks https://github.com/FBanitz
Fix dependency range for intl library. Thanks https://github.com/isoos and https://github.com/mnordine
Switch to ^0.17 instead of range for the intl dependency. Thanks https://github.com/mnordine
^0.17 instead of range for the intl dependency.* Allow mime 2.*
Limit base64 encoded lines to 76 characters. Thanks https://github.com/isoos
Fix error code if recipients mail address is empty. Thanks https://github.com/amugofjava
Close connections in finally block Thanks https://github.com/darkstarx
Add auth plain Thanks https://github.com/michep
intl 0.19.0 as dependencyFix yahoo definition Thanks https://github.com/schneiti
Major version upgrade because mail_sender.dart no longer exposes mailSendTasks.
intl 0.18 as dependencymail_sender.dart no longer exposes mailSendTasks.pedantic to lintsadd possibility to add custom header to attachments Thanks https://github.com/dsyrstad
fix non-ascii attachment name Thanks https://github.com/holyens
Specify locale for date headers Thanks https://github.com/michael-spf for the bug report
Include the SMTP error code in the authentication failure exception Thanks: https://github.com/jonasfj
Fix Null error when closing smtp connection Thanks: https://github.com/hpoul
Fix null-safety migration bug with bad type cast.
minor interface changes. Some are now const / final objects.
null safety and cleanups Thanks: https://github.com/bsutton
add sendgrid smtp server Thanks: https://github.com/rohanthacker
* Fix compile time bug. 😳
The generation of the mailbox address is done via Address.toString(), so application can override it to provide its own sanitization, if necessary.
Address.toString(), so application can override it to provide its own sanitization, if necessary.Discourage use of username/password authentication through deprecation.
fix null pointer when server doesn't support EHLO
fix splitting of text for base64 conversion.
some (dart) file operations changed the return type from List to Uint8List Implemented the proposed fixes from: https://groups.google.com/forum/#!topi
List<int> to Uint8List
Implemented the proposed fixes from: https://groups.google.com/forum/#!topic/flutter-announce/LTe4SYU8-0Qallow older pedantic version to make mailer compatible with flutter.
NO BUGFIXES. There is no *need* to update!
catchExceptions flag. mailer now always throws.send from List<SendReport> to SendReportNothing published for this version
Nothing published for this version
* assign catchExceptions if null
catchExceptions if null* export exceptions.
add catchExceptions flag to send command. (issue #90)
catchExceptions flag to send command. (issue #90)add catchExceptions flag (currently true, but default will change to false) improve exceptions.
catchExceptions flag (currently true, but default will change to false)
improve exceptions.fix regular expression which is used to validate the name of an email address.
* add qq smtp server definition
improve exception when server response does not match.
if a header value is null send empty string instead.
null send empty string instead.text/plain and application/octet-streamprovide smtp_servers in smtp_server.dart
added smtp configuration for mailgun.org
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Please see README and commits.
Please see README and commits.
Fix occasional issue with completer already completed. Due to an error with SMTP server closing connection after sending the email.
Fix new lines sent to server to be proper \r\n format
\r\n formatloosen crypto dependency to '>=0.9.0 <3.0.0' as suggested in the crypto changelog
merge crypto util fix and update example
add simple example/send_gmail.data
* initial release
Nothing published for this version
One column per quarter.