Packages

nodemailer

10.6.0 · 15 Nov 2026MIT-040.3M / weekRepositoryHomepagenpmAtom feed

Upgrading nodemailer From 10.2.1 to 10.3.0

1 release in betweenevery note read

Other targets from 10.2.1Newest 10.x10.6.1Latest10.6.0
  1. 10.2.1yours
  2. 10.3.0target
0
changes to make
0
advisories fixed
6
new
1
fix

Release by release

  1. 10.3.0

    29 Oct 20266 new · 1 fix
    • New

      New otp message option: otp: { code: '123456', origin: 'https://example.com' } adds OTP-Token: "123456"; origin="https://example.com". The origin is reduced to its canonical form, only https (or http on a loopback host) is accepted, and invalid values fail the send with the new EOTP error code. See Message configuration.

    • New

      A custom OTP-Token header is no longer MIME word encoded. Line breaks and control characters are still removed.

    • New

      OTP-Token is included in the DKIM signature by default.

    • New

      A Content-ID header, from an attachment cid or set through headers, is now encoded as a message id rather than as text, so a cid with a non-ASCII character or a quote keeps matching the cid: URL in the HTML.

    • New

      Groundmail added to the well-known services.

    • New

      Add the otp option for the OTP-Token header

    • Fixed

      Encode a Content-ID header as a message id

3 other lines we could not sort, mostly version bumps
  • Anyone sending one-time passcodes by email who wants them to be machine-readable.

    10.3.0
  • Anyone already setting an OTP-Token header through headers: before this release it went out MIME encoded and could not be parsed.

    10.3.0
  • Anyone embedding images with a cid that holds a non-ASCII character or a quote.

    10.3.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.