Packages

nodemailer

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

Your version

10.4.0

7 Nov 2026Where it was published

10.6.1 is the newest release of 10.x.

Summary· from the note as AI read it

No actionNothing to change: 3 new, 0 fixed.

New

  • The pooled SMTP transport can now be closed with close({ force: true }), which also ends connections that are in the middle of delivering a message. A plain close() behaves as before.
  • transporter.close({ force: true }) closes busy pooled connections as well as idle ones. The messages they were delivering fail at once with an error instead of being queued again, and messages still waiting in the queue fail as they do on a plain close().
  • let close({ force: true }) end pooled connections that are delivering a message

In short

3 new

Release note

Summary

The pooled SMTP transport can now be closed with close({ force: true }), which also ends connections that are in the middle of delivering a message. A plain close() behaves as before.

Who should upgrade

No hurry for most users. Upgrade if you use pool: true and need to abandon a delivery that a server is stalling, for example one that trickles its replies so no socket timeout ever fires.

Highlights

  • transporter.close({ force: true }) closes busy pooled connections as well as idle ones. The messages they were delivering fail at once with an error instead of being queued again, and messages still waiting in the queue fail as they do on a plain close().

  • close() without arguments is unchanged: idle connections close immediately and a connection in the middle of a delivery finishes it first.

Features

  • Let close({ force: true }) end pooled connections that are delivering a message

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.