nodemailer
10.2.1 · 22 Oct 2026MIT-023.7M / weekRepositoryHomepagenpmAtom feed
Upgrading nodemailer from 2.1.0 to 2.2.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 7
- new
- 0
- fixes
Security
15 advisories still affect 2.2.0
- Nodemailer: CRLF injection in Nodemailer List-* header comments allows arbitrary message header injectionmoderate · GHSA-268h-hp4c-crq3
- Command injection in nodemailercritical · GHSA-48ww-j4fc-435p
- Nodemailer: resolveContent() on a MailMessage bypasses disableFileAccess/disableUrlAccess when called with the legacy signaturemoderate · GHSA-8m3c-c648-2xjj
Upgrading to 10.0.6 clears them.
Release by release
- new
Added new method
verifyto check SMTP configuration - new
Added new message option
listfor setting List-* headers - new
Add simple proxy support with
getSocketmethod - new
Added new message option
textEncoding. IftextEncodingis not set then detect best encoding automatically - new
Added new message option
icalEventto embed iCalendar events. Example here - new
Added new attachment option
rawto use prepared MIME contents instead of generating a new one. This might be useful when you want to handcraft some parts of the message yourself, for example if you want to inject a PGP encrypted message as the contents of a MIME node - new
Added new message option
rawto use an existing MIME message instead of generating a new one
- new
2 other lines we could not sort, mostly version bumps
- 2.2.0
Removed the need to use
clonedependency - 2.2.0
Direct transport uses STARTTLS by default, fallbacks to plaintext if STARTTLS fails