Skip to content

Releases: adonisjs/mail

Add support for creating mail from pre-defined contents

28 Mar 13:53

Choose a tag to compare

10.2.0 (2026-03-28)

Features

  • add --contents-from and --force flags to make:mail command (790509c)

Full Changelog: v10.1.1...v10.2.0

Set dummy valid values for environment variables

26 Mar 11:42

Choose a tag to compare

10.1.1 (2026-03-26)

Bug Fixes

  • configure: set dummy valid values for environment variables (c60790f)

Full Changelog: v10.1.0...v10.1.1

Using symbol.dispose for disposing fake instance

24 Mar 05:51

Choose a tag to compare

10.1.0 (2026-03-24)

Features

What's Changed

Full Changelog: v10.0.1...v10.1.0

Fix SMTP_PORT Env validation to use schema.number

19 Mar 12:39

Choose a tag to compare

10.0.1 (2026-03-19)

Bug Fixes

  • configure: use number schema for SMTP_PORT and update tests (#119) (6fc1b9c)

What's Changed

  • fix(configure): use number schema for SMTP_PORT and update tests by @bdwd-dev in #119

New Contributors

Full Changelog: v10.0.0...v10.0.1

Upgrade to NodeMailer v7 and bug fixes

25 Feb 08:27

Choose a tag to compare

10.0.0 (2026-02-25)

Features

  • include a default brand name that can be edited and reference within email templates (b135add)
  • return this in MailsCollection’s assert methods (#115) (0b12570)
  • remove rate limiting options from SES transport (af4177a)

BREAKING CHANGES

  • Upstream breaking change from Nodemailer v7

Bug Fixes

  • correct typos in comments (envolpe, prority, sequeuednt) (5c3a71f)
  • rename misnamed sparkpostTransport variables in resend and brevo transports (1d84f24)
  • swap MAIL_FROM_NAME and MAIL_FROM_ADDRESS default values (7d968b0)
  • treat mail sending failure as a server error (9aee511), closes #117

What's Changed

  • Fix brevo transport, API allows onyl one replyTo address, not an array by @arthur-pigeon in #106
  • Return this in MailsCollection’s assert methods by @marcuspoehls in #115
  • enhancenment: upgrade dependencies to fix vulnerabilities and harden HTTP transports validation by @NicolasMarino in #112

New Contributors

Full Changelog: v9.2.2...v10.0.0

Bug fixes and small improvements

13 Feb 06:27

Choose a tag to compare

Pre-release

10.0.0-next.2 (2026-02-13)

Bug Fixes

  • correct typos in comments (envolpe, prority, sequeuednt) (5c3a71f)
  • rename misnamed sparkpostTransport variables in resend and brevo transports (1d84f24)
  • swap MAIL_FROM_NAME and MAIL_FROM_ADDRESS default values (7d968b0)
  • treat mail sending failure as a server error (9aee511), closes #117

Features

  • include a default brand name that can be edited and reference within email templates (b135add)
  • return this in MailsCollection’s assert methods (#115) (0b12570)
  • upgrade dependencies to fix vulnerabilities and harden HTTP transports validation (#112) (9f83bfc)

What's Changed

  • Return this in MailsCollection’s assert methods by @marcuspoehls in #115
  • enhancenment: upgrade dependencies to fix vulnerabilities and harden HTTP transports validation by @NicolasMarino in #112

New Contributors

Full Changelog: v10.0.0-next.1...v10.0.0-next.2

Upgrade NodeMailer and target AdonisJS v7

27 Oct 08:13

Choose a tag to compare

10.0.0-next.1 (2025-10-27)

Features

  • remove rate limiting options from SES transport (af4177a)

BREAKING CHANGES

  • Upstream breaking change from Nodemailer v7

Full Changelog: v10.0.0-next.0...v10.0.0-next.1

Shared global state for templates, bug fixes and configure global from address inside config

16 Jul 09:05

Choose a tag to compare

What's Changed

  • Fix brevo transport, API allows onyl one replyTo address, not an array by @arthur-pigeon in #106
  • feat: upgrade nodemailer to the latest version
  • fix: accept all SMTPConnectionOptions
  • feat: introduce shared state for templates and set it via globals config
  • feat: introduce sendLaterCompiled method in MailerContract
  • feat: replace got with ky
  • feat: introduce MAIL_MAILER, MAIL_FROM_ADDRESS, and MAIL_FROM_NAME env variables

New Contributors

Full Changelog: v9.2.2...v10.0.0-next.0

Correct env variable access for SES in stubs

21 Jun 08:55
7935feb

Choose a tag to compare

Commits

  • chore: migrate to release-it (4f15d37)
  • fix(stubs): correct env variable access for SES (e203074)
  • Fix env variables (#97) (2455620)

What's Changed

New Contributors

Full Changelog: v9.2.1...v9.2.2

Fix mail assertion API to allow mail class constructor to accept arguments

27 Mar 07:05

Choose a tag to compare

  • refactor: fix linting issues e52cd4e
  • fix: mail.assert to allow mail classes that accepts constructor arguments 7f142f7
  • chore: update dependencies 667c796
  • chore(package): update dependencies dd24c7c
  • chore: fix broken link 05132eb

Full Changelog: v9.2.0...v9.2.1