Back to articles
Resend Has a Free API — Modern Email for Developers Who Hate Email

Resend Has a Free API — Modern Email for Developers Who Hate Email

via Dev.to ReactAlex Spinov

Resend is an email API for developers. Send transactional emails with React components, get delivery analytics, and never configure SMTP again. Why Resend? React Email — build emails with React components Simple API — one function call to send Free tier — 3,000 emails/month, 1 domain Delivery analytics — opens, clicks, bounces, complaints Quick Start npm install resend import { Resend } from ' resend ' ; const resend = new Resend ( ' re_YOUR_API_KEY ' ); const { data , error } = await resend . emails . send ({ from : ' hello@yourdomain.com ' , to : ' alice@example.com ' , subject : ' Welcome! ' , html : ' <h1>Welcome to our app!</h1> ' , }); React Email Templates npm install @react-email/components import { Html , Head , Body , Container , Text , Button , Img , } from ' @react-email/components ' ; function WelcomeEmail ({ name , loginUrl }: { name : string ; loginUrl : string }) { return ( < Html > < Head /> < Body style = { { fontFamily : ' sans-serif ' , background : ' #f4f4f4 ' } }

Continue reading on Dev.to React

Opens in a new tab

Read Full Article
8 views

Related Articles