PackageTrack
Sign in Get early access

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 2026
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 60 of 67
  1. 7.2.0 21 Jul 2026
    Release notes
    • Upgrade punycoder to v0.3.0.
    • Refactor IDNA module to use domainToAscii and domainToUnicode from punycoder.
    • Refactor Address.encodedAddress to use emailToAscii from punycoder.
    • Maintain IdnaException for backward compatibility by wrapping punycoder's FormatException.
    Open source →
  2. 7.1.0 24 Feb 2026
    Release notes
    • allow mime 2.0.0 and intl up to 0.21.0 Thanks https://github.com/karelklic
    Open source →
  3. 7.0.0 24 Feb 2026
    Release notes

    7.0.0

    • Major Refactoring: Simplified library structure and standardized exports.
      • Renamed internal IR classes to Mime.
      • Moved files into core, mime, and smtp directories.
      • Standardized on relative imports within the package.
      • Moved to community repository (github.com/dart-mailer/mailer)
    • 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 PermissiveAddressValidator and SimpleAddressValidator.
    • Feature: Correct IDNA encoding for domains.
      • Proper NFC Unicode normalization using unorm_dart.
      • Case folding and label validation (RFC 5890).
    • Breaking: Removed lib/src/core/entities.dart. Import package:mailer/mailer.dart instead.
    • Update: Bumped SDK constraint to Dart 3.
    Open source →
    Release notes
    • Major Refactoring: Simplified library structure and standardized exports.
      • Renamed internal IR classes to Mime.
      • Moved files into core, mime, and smtp directories.
      • Standardized on relative imports within the package.
      • Moved to community repository (github.com/dart-mailer/mailer)
    • 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 PermissiveAddressValidator and SimpleAddressValidator.
    • Feature: Correct IDNA encoding for domains.
      • Proper NFC Unicode normalization using unorm_dart.
      • Case folding and label validation (RFC 5890).
    • Breaking: Removed lib/src/core/entities.dart. Import package:mailer/mailer.dart instead.
    • Update: Bumped SDK constraint to Dart 3.
    Open source →
  4. 6.6.0 30 Oct 2025
    Release notes
    • Add Amazon simple Email Service stmp server Thanks https://github.com/karelklic
    Open source →
  5. 6.5.0 27 Jul 2025
    Release notes
    • Add brevo stmp server Thanks https://github.com/FBanitz
    Open source →
  6. 6.4.1 13 Jan 2025
    Release notes
    • Fix dependency range for intl library.
      Thanks https://github.com/isoos and https://github.com/mnordine
    Open source →
  7. 6.4.0 08 Jan 2025
    Release notes
    • Switch to ^0.17 instead of range for the intl dependency.
      Thanks https://github.com/mnordine
    Open source →
  8. 6.3.0 03 Dec 2024
    Release notes
    • Allow mime 2.*
    Open source →
  9. 6.2.0 26 Sep 2024
    Release notes
    • Limit base64 encoded lines to 76 characters. Thanks https://github.com/isoos
    Open source →
  10. 6.1.2 21 Jul 2024
    Release notes
    • Fix error code if recipients mail address is empty.
      Thanks https://github.com/amugofjava
    Open source →
  11. 6.1.1 06 Jul 2024
    Release notes
    • Close connections in finally block
      Thanks https://github.com/darkstarx
    Open source →
  12. 6.1.0 08 Feb 2024
    Release notes
    • Add auth plain
      Thanks https://github.com/michep
    • Allow intl 0.19.0 as dependency
    Open source →
  13. 6.0.1 18 Apr 2023
    Release notes
    • Fix yahoo definition
      Thanks https://github.com/schneiti
    Open source →
  14. 6.0.0 01 Jan 2023
    Release notes
    • Allow intl 0.18 as dependency
    • Major version upgrade because mail_sender.dart no longer exposes mailSendTasks.
    • Switch from pedantic to lints
    Open source →
  15. 5.3.0 11 Dec 2022
    Release notes
    • add possibility to add custom header to attachments
      Thanks https://github.com/dsyrstad
    Open source →
  16. 5.2.0 02 Jul 2022
    Release notes
    • fix non-ascii attachment name
      Thanks https://github.com/holyens
    Open source →
  17. 5.1.1 07 May 2022
    Release notes
    • Specify locale for date headers
      Thanks https://github.com/michael-spf for the bug report
    Open source →
  18. 5.1.0 22 Jan 2022
    Release notes
    • 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
    Open source →
  19. 5.0.2 15 Aug 2021
    Release notes
    • Fix Null error when closing smtp connection
      Thanks: https://github.com/hpoul
    Open source →
  20. 5.0.1 08 Jul 2021
    Release notes
    • Fix null-safety migration bug with bad type cast.
    Open source →
  21. 5.0.0 31 Mar 2021
    Release notes
    • 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!
    Open source →
  22. 4.0.0 25 Feb 2021
    Release notes
    • null safety and cleanups
      Thanks: https://github.com/bsutton
    Open source →
  23. 3.3.0 01 Feb 2021
    Release notes
    • add sendgrid smtp server
      Thanks: https://github.com/rohanthacker
    Open source →
  24. 3.2.1 10 Sep 2020
    Release notes
    • Fix compile time bug. 😳
    Open source →
  25. 3.2.0 09 Sep 2020
    Release notes
    • The generation of the mailbox address is done via Address.toString(), so application can override it to provide its own sanitization, if necessary.
    Open source →
  26. 3.1.0 09 Sep 2020
    Release notes
    • Improve gmail integration utilities.
    • Discourage use of username/password authentication through deprecation.
    Open source →
  27. 3.0.4 25 Oct 2019
    Release notes
    • fix null pointer when server doesn't support EHLO (#121)
    Open source →
  28. 3.0.3 04 Oct 2019
    Release notes
    • fix splitting of text for base64 conversion.
    Open source →
  29. 3.0.2 27 Jul 2019
    Release notes
    • some (dart) file operations changed the return type from List<int> to Uint8List Implemented the proposed fixes from: https://groups.google.com/forum/#!topic/flutter-announce/LTe4SYU8-0Q
    Open source →
  30. 3.0.1 12 Jul 2019
    Release notes
    • allow older pedantic version to make mailer compatible with flutter.
    Open source →
  31. 3.0.0 05 Jul 2019
    Release notes
    • NO BUGFIXES. There is no need to update!
    • remove dart 1 compatible code. mailer does require dart 2.2.2 or higer now.
    • remove catchExceptions flag. mailer now always throws.
    • change return value of send from List<SendReport> to SendReport
    • add persistent connection (idea from https://github.com/jodinathan)
    • add xoauth2 authentication method (see examples)
    Open source →
  32. 2.6.1 04 Oct 2019

    Nothing published for this version

  33. 2.6.0 09 Aug 2019

    Nothing published for this version

  34. 2.5.1 05 Jul 2019
    Release notes
    • assign catchExceptions if null
    Open source →
  35. 2.5.0 17 Jun 2019
    Release notes
    • export exceptions.
    Open source →
  36. 2.4.0 09 Jun 2019
    Release notes
    • add catchExceptions flag to send command. (issue #90)
    Open source →
  37. 2.3.0 01 Apr 2019
    Release notes
    • add timeout option. (https://github.com/pjkroll)
    • add catchExceptions flag (currently true, but default will change to false) improve exceptions.
    • remove username from authentication failure exception (see issue #79)
    Open source →
  38. 2.2.1 04 Feb 2019
    Release notes
    • fix regular expression which is used to validate the name of an email address.
    Open source →
  39. 2.2.0 21 Jan 2019
    Release notes
    • add qq smtp server definition
    Open source →
  40. 2.1.2 09 Jan 2019
    Release notes
    • improve exception when server response does not match.
    Open source →
  41. 2.1.1 29 Nov 2018
    Release notes
    • if a header value is null send empty string instead.
    • if mime library fails to identify content use text/plain and application/octet-stream
      as defaults.
    • mention mailer2 and mailer3 in README
    Open source →
  42. 2.1.0 17 Nov 2018
    Release notes
    • provide smtp_servers in smtp_server.dart
    Open source →
  43. 2.0.2 08 Oct 2018
    Release notes
    • added smtp configuration for mailgun.org
    Open source →
  44. 2.0.1 24 Sep 2018

    Nothing published for this version

  45. 2.0.0 20 Sep 2018

    Nothing published for this version

  46. 1.2.3 20 Aug 2018

    Nothing published for this version

  47. 1.2.2 19 Aug 2018

    Nothing published for this version

  48. 1.2.1 17 Aug 2018

    Nothing published for this version

  49. 1.2.0 17 Aug 2018

    Nothing published for this version

  50. 1.1.4 26 May 2017
    Release notes

    Please see README and commits.

    Open source →
  51. 1.1.3 24 May 2017
    Release notes
    • Fix occasional issue with completer already completed. Due to an error with SMTP server closing connection after sending the email.
    Open source →
  52. 1.1.2 23 May 2017
    Release notes
    • Fix new lines sent to server to be proper \r\n format
    Open source →
  53. 1.1.1 11 Sep 2016
    Release notes
    • loosen crypto dependency to '>=0.9.0 <3.0.0' as suggested in the crypto changelog
    Open source →
  54. 1.1.0 16 Aug 2016
    Release notes
    • 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
    Open source →
  55. 1.0.1 28 Jul 2016
    Release notes
    • add simple example/send_gmail.data
    • fix pubspec to pull crypto 0.9.0
    Open source →
  56. 1.0.0 04 Oct 2015
    Release notes
    • initial release
    Open source →
  57. 0.8.12 22 Sep 2014

    Nothing published for this version

  58. 0.8.11 16 Dec 2013

    Nothing published for this version

  59. 0.8.10 11 Nov 2013

    Nothing published for this version

  60. 0.8.7 30 Oct 2013

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive