Skip to content
You're viewing documentation for v1.0.0. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Migrate from Nodemailer

Replace a Nodemailer transporter with Email SDK's dependency-free SMTP adapter.

Email SDK includes its own SMTP transport. You do not need Nodemailer for basic address fields, text/HTML bodies, headers, TLS upgrade, and SMTP auth.

Replace the transporter

On a non-secure port, SMTP auth upgrades with STARTTLS by default. allowInsecureAuth exists only for trusted local test servers.

Replace sendMail

The transport creates multipart/alternative for text plus HTML and derives Message-ID from the idempotency key.

Account for unsupported features

The built-in SMTP adapter rejects attachments, tags, metadata, and schedules. Keep Nodemailer or build a custom adapter if your SMTP workflow depends on MIME attachments or advanced transport plugins.

Verify

SMTP adapter

See TLS, auth, custom names, and transport limits.

Last updated on