Packages

nodemailer

10.2.1 · 22 Oct 2026MIT-023.7M / weekRepositoryHomepagenpmAtom feed

Your version

10.1.0

10 Oct 2026Where it was published

10.2.1 is the newest release of 10.x.

In short

1 new1 faster11 fixed

Security

Release note

Features

  • Harden message streams, SMTP connections and the connection pool

Bug Fixes

  • Do not read the environment or the interface table on import

  • End the SMTP session on any 421 reply and drive the envelope through one step

  • Keep ERR_ACCESS_DENIED from the Node.js permission model

  • Let the proxy handshake and the SMTP connection share one deadline

  • mime-node: decode an SMTPUTF8 domain from its A-label form

  • mime-node: finish an encoded part only after its output was read

  • qp: encode a lone CR or LF in binary quoted-printable parts

  • smtp-connection: count the wait for the greeting against connectionTimeout

  • smtp-connection: drop the connection when DATA is taken after a refused sender

  • smtp-connection: refuse a second connect() call

  • Turn Nagle off for SMTP sockets and report an early sendmail exit as such

Performance Improvements

  • Encode base64 and quoted-printable without per-chunk delays