Guides
Step-by-step guides for common email sending scenarios.
-
Testing with Ethereal - Use Ethereal.email to test email sending without delivering to real recipients. Generate test accounts automatically and preview sent messages in a web interface.
-
Using Gmail - Send email through Gmail using OAuth2 or App Passwords. Covers authentication methods, sending limits, and common issues.
-
Receiving email - Nodemailer only sends email. Learn how to accept inbound mail with smtp-server or read existing mailboxes with ImapFlow and mailparser.
-
Using Deno - Run Nodemailer in Deno through npm specifiers. Covers the permission flags each feature needs and the small differences from Node.js.
-
Node.js permission model - Run Nodemailer with
node --permission. Covers the grants each feature needs, how the model differs between Node.js versions, and how to recognize a denied operation.
See Also
- Nodemailer - installation, requirements, and a first message.
- SMTP transport - the reference for the options these guides configure.
- Message configuration - every field a message can carry.
- Error reference - what to do when a guide's setup fails.