Guides
Email sending guides for developers.
Every code sample here runs against this repo's own API, SMTP relay, and validation — not a generic tutorial. See the full API reference for everything these guides only touch the surface of.
Send email with Amazon SES from Node.js
Amazon SES is the cheapest way to send transactional email, and the Node.js SDK call itself is short. The friction is everything around it: a new SES account can only send to addresses you've personally verified until AWS approves a production-access request, and there's no REST API, webhook signing, or idempotency layer included — you build those yourself.
Read guideSet up SPF, DKIM and DMARC for a sending domain
SPF, DKIM and DMARC are the three DNS-based checks every major inbox provider uses to decide whether your mail is really from you. This guide shows the exact records Irisend generates for a new domain — not a generic explainer — and how to check your DMARC pass rate after you publish a policy.
Read guideSend email from Next.js: API route or SMTP relay
There are two straightforward ways to send email from a Next.js app server-side: call the REST API directly from a Route Handler, or use the SMTP relay through a library like Nodemailer from a Server Action. Both run through the identical send pipeline server-side, so pick whichever fits your existing code — this repo's own marketing site uses the REST API pattern for its waitlist emails.
Read guideResend-compatible SMTP relay setup
If your app already sends mail through `smtp.resend.com`, moving to Irisend's relay is a host-and-password change, not a rewrite — Irisend's SMTP server accepts `resend` as a username alias specifically so an existing config doesn't need its username touched.
Read guideChoosing between providers?
See the sourced comparison pages against Resend, Postmark, SendGrid, Amazon SES and Mailgun.