
Resend Has a Free Email API That Developers Actually Love
Resend is an email API built for developers. Send transactional emails with a clean REST API and React Email templates — no SMTP configuration needed. Send an Email import { Resend } from ' resend ' ; const resend = new Resend ( ' re_123456789 ' ); const { data , error } = await resend . emails . send ({ from : ' hello@yourdomain.com ' , to : ' user@example.com ' , subject : ' Welcome! ' , html : ' <h1>Welcome aboard!</h1><p>Thanks for signing up.</p> ' }); With React Email Templates import { render } from ' @react-email/render ' ; import { WelcomeEmail } from ' ./emails/welcome ' ; const html = render (< WelcomeEmail name = "Alice" />); await resend . emails . send ({ from : ' hello@yourdomain.com ' , to : ' alice@example.com ' , subject : ' Welcome, Alice! ' , html }); React Email Component // emails/welcome.tsx import { Html , Head , Body , Container , Heading , Text , Button } from ' @react-email/components ' ; export function WelcomeEmail ({ name }: { name : string }) { return ( <
Continue reading on Dev.to Webdev
Opens in a new tab

