Test mode
Simulate events and experiment with our API without the risk of accidentally sending real emails to real people.
Learn moreThe best way to reach humans instead of spam folders. Deliver transactional and marketing emails at scale.
Send your first email in minutes.
import { Resend } from 'resend';const resend = new Resend('re_xxxxxxxx');await resend.emails.send({ from: 'onboarding@resend.dev', to: 'delivered@resend.dev', subject: 'Hello World', html: '<strong>it works!</strong>'});import resendresend.api_key = "re_xxxxxxxx"resend.Emails.send({ "from": "onboarding@resend.dev", "to": ["delivered@resend.dev"], "subject": "Hello World", "html": "<strong>it works!</strong>"})<?php$resend = Resend::client('re_xxxxxxxx');$resend->emails->send([ 'from' => 'onboarding@resend.dev', 'to' => ['delivered@resend.dev'], 'subject' => 'Hello World', 'html' => '<strong>it works!</strong>']);client := resend.NewClient("re_xxxxxxxx")params := &resend.SendEmailRequest{ From: "onboarding@resend.dev", To: []string{"delivered@resend.dev"}, Subject: "Hello World", Html: "<strong>it works!</strong>",}sent, err := client.Emails.Send(params)Median time to delivered: 0.7s
See how we keep it fastA simple, elegant interface so you can start sending emails in minutes. It fits right into your code with SDKs for your favorite programming languages.
import { Resend } from 'resend';const resend = new Resend('re_xxxxxxxx');const { data, error } = await resend.emails.send({ from: 'onboarding@resend.dev', to: 'delivered@resend.dev', subject: 'Hello World', html: '<strong>it works!</strong>'});import { Resend } from 'resend';const resend = new Resend(process.env.RESEND_API_KEY);export async function handler() { const { data, error } = await resend.emails.send({ from: 'onboarding@resend.dev', to: 'delivered@resend.dev', subject: 'Hello World', html: '<strong>it works!</strong>' }); return Response.json(error ?? data);}require "resend"Resend.api_key = "re_xxxxxxxx"params = { from: "onboarding@resend.dev", to: "delivered@resend.dev", subject: "Hello World", html: "<strong>it works!</strong>"}sent = Resend::Emails.send(params)import resendresend.api_key = "re_xxxxxxxx"params = { "from": "onboarding@resend.dev", "to": ["delivered@resend.dev"], "subject": "Hello World", "html": "<strong>it works!</strong>"}email = resend.Emails.send(params)<?php$resend = Resend::client('re_xxxxxxxx');$resend->emails->send([ 'from' => 'onboarding@resend.dev', 'to' => ['delivered@resend.dev'], 'subject' => 'Hello World', 'html' => '<strong>it works!</strong>']);# Illustrative example: set your API key firstexport RESEND_API_KEY=re_xxxxxxxxresend emails send \ --from "onboarding@resend.dev" \ --to "delivered@resend.dev" \ --subject "Hello World" \ --html "<strong>it works!</strong>"import "github.com/resend/resend-go/v2"client := resend.NewClient("re_xxxxxxxx")params := &resend.SendEmailRequest{ From: "onboarding@resend.dev", To: []string{"delivered@resend.dev"}, Subject: "Hello World", Html: "<strong>it works!</strong>",}sent, err := client.Emails.Send(params)use resend_rs::{types::CreateEmailBaseOptions, Resend};let resend = Resend::new("re_xxxxxxxx");let email = CreateEmailBaseOptions::new( "onboarding@resend.dev", ["delivered@resend.dev"], "Hello World",).with_html("<strong>it works!</strong>");let sent = resend.emails.send(email).await?;Resend resend = new Resend("re_xxxxxxxx");CreateEmailOptions params = CreateEmailOptions.builder() .from("onboarding@resend.dev") .to("delivered@resend.dev") .subject("Hello World") .html("<strong>it works!</strong>") .build();CreateEmailResponse data = resend.emails().send(params);client = Resend.client(api_key: "re_xxxxxxxx")Resend.Emails.send(client, %{ from: "onboarding@resend.dev", to: "delivered@resend.dev", subject: "Hello World", html: "<strong>it works!</strong>"})IResend resend = ResendClient.Create("re_xxxxxxxx");var message = new EmailMessage();message.From = "onboarding@resend.dev";message.To.Add("delivered@resend.dev");message.Subject = "Hello World";message.HtmlBody = "<strong>it works!</strong>";await resend.EmailSendAsync(message);curl -X POST 'https://api.resend.com/emails' \ -H 'Authorization: Bearer re_xxxxxxxx' \ -H 'Content-Type: application/json' \ -d '{ "from": "onboarding@resend.dev", "to": "delivered@resend.dev", "subject": "Hello World", "html": "<strong>it works!</strong>" }'# Works with any library that speaks SMTPHost: smtp.resend.comPort: 465Username: resendPassword: re_xxxxxxxxWe are a team of engineers who love building tools for other engineers. Our goal is to create the email platform we've always wished we had, one that just works.
Simulate events and experiment with our API without the risk of accidentally sending real emails to real people.
Learn moreReceive real-time notifications directly on your server whenever an email is delivered, opened, bounced, or a link is clicked.
Learn moreA modern editor that makes it easy for anyone to write, format, and send emails. Visually build your email and change the design with custom styles.
Import your list in minutes, whatever the size of your audience, with full visibility into each contact and their attributes.
See exactly how your audience interacts with every broadcast.
Create beautiful templates without having to deal with <table> layouts and HTML. Powered by react-email, our open source component library.
import { Html, Heading, Text, Button } from '@react-email/components';export default function Welcome({ username = 'Steve' }) { return ( <Html> <Heading>Welcome to ACME, {username}!</Heading> <Text>We're excited to have you onboard.</Text> <Button href='https://acme.com'> Get Started </Button> </Html> );}We're excited to have you onboard. If you have any questions, feel free to reach out.
Get Startedimport { Html, Heading, Text, Button } from '@react-email/components';export default function ResetPassword({ url }) { return ( <Html> <Heading>Reset your password</Heading> <Text>Use the button below to choose a new one.</Text> <Button href={url}> Reset password </Button> </Html> );}Use the button below to choose a new one. If you didn't ask for this, you can ignore this email.
Reset passwordimport { Html, Heading, Text, Button } from '@react-email/components';export default function UserInvite({ inviter, url }) { return ( <Html> <Heading>You're invited to ACME</Heading> <Text>{inviter} added you to the team.</Text> <Button href={url}> Accept invite </Button> </Html> );}Alex added you to the team. Accept the invite to start collaborating.
Accept inviteimport { Html, Heading, Text, Button } from '@react-email/components';export default function WeeklyDigest({ posts }) { return ( <Html> <Heading>Your weekly digest</Heading> {posts.map((p) => ( <Text key={p.id}>{p.title}</Text> ))} <Button href='https://acme.com/blog'>Read more</Button> </Html> );}Here's what happened at ACME this week. Three new posts are waiting for you.
Read moreAuthentication, monitoring and infrastructure work together so your emails land where people will actually read them.
Know early if your domain lands on a DNSBL such as Spamhaus.
Sending regions in North America, South America, Europe and Asia.
Show your logo next to your emails, backed by a VMC.
Automatic warm-up and autoscale, handled for you.
Bounced and complained addresses are suppressed to help with CAN-SPAM.
Keep an eye on your sending reputation as it changes.
Check your DKIM and SPF records before you send.
Built to deliver your most important emails reliably, at scale.
Tell inbox providers which senders are really yours.
Test mode and modular webhooks come with every plan. Prices are in USD.
3,000 emails/mo · 100/day
50,000 emails
100,000 emails
Volume tailored to you
Need more? Extra emails are $0.90 per 1,000. Prices in USD.
Developers and teams use dibantuin AI to ship email without the friction.
Sample feedback, shown for illustration.
Everything developers ask before sending their first email. Still unsure? Tell us in the form below.
Read the docsVerify your domain with SPF and DKIM, add DMARC, and keep an eye on blocklists. We help with blocklist tracking and IP and domain monitoring, so you know early when something needs attention.
Typically within minutes. Install an SDK or connect over SMTP, add your API key and send.
Yes. Test mode simulates delivery events so you can experiment with the API without sending real emails to real people.
Node.js, Python, PHP, Ruby, Go, Rust, Java, Elixir and .NET, plus a plain REST API and SMTP.
Ask us. Tell us your language in the form and we'll reply.
Nothing breaks. Extra emails are $0.90 per 1,000, billed in USD.
Tell us what you send and we'll help you get started.