
Resend Has a Free API — Send Transactional Emails in 3 Lines of Code
Email Should Not Be This Hard Resend gives you email in 3 lines. Free tier: 3000 emails/month. JavaScript import { Resend } from " resend " ; const resend = new Resend ( " re_your_api_key " ); const { data } = await resend . emails . send ({ from : " hello@yourdomain.com " , to : " user@example.com " , subject : " Welcome! " , html : " <h1>Welcome</h1> " }); Python import resend resend . api_key = " re_your_api_key " email = resend . Emails . send ({ " from " : " hello@yourdomain.com " , " to " : [ " user@example.com " ], " subject " : " Welcome! " , " html " : " <h1>Welcome</h1> " }) cURL curl -X POST https://api.resend.com/emails \ -H "Authorization: Bearer re_your_api_key" \ -H "Content-Type: application/json" \ -d "{ \" from \" : \" hello@yourdomain.com \" , \" to \" :[ \" user@example.com \" ], \" subject \" : \" Test \" , \" html \" : \" Hello \" }" Comparison Service Free Tier Setup Resend 3000/mo 5 min SendGrid 100/day 30 min AWS SES 62K/mo (EC2) 2 hours Mailgun 1000/mo 15 min
Continue reading on Dev.to Webdev
Opens in a new tab




