Frameworks
Next.js (TypeScript)
Full-stack Next.js app with TypeScript
Next.js (JavaScript)
Full-stack Next.js app with JavaScript
Express
Express 5 examples (TypeScript and JavaScript)
Hono
Hono examples (TypeScript and JavaScript)
Bun
Bun examples (TypeScript and JavaScript)
Remix
Remix examples (TypeScript and JavaScript)
Nuxt
Nuxt 3 examples (TypeScript and JavaScript)
SvelteKit
SvelteKit examples (TypeScript and JavaScript)
Astro
Astro examples (TypeScript and JavaScript)
RedwoodJS
RedwoodJS examples (TypeScript and JavaScript)
TanStack Start
TanStack Start examples (TypeScript and JavaScript)
PHP
PHP examples with Slim and Symfony
Laravel
Laravel 11 examples
Python
Python examples with Flask, FastAPI, and Django
Ruby
Ruby examples with Sinatra and Rails
Go
Go examples with Chi and Gin
Java
Java examples with Javalin and Spring Boot
.NET (C#)
ASP.NET Minimal APIs and MVC
Rust
Rust examples with Axum
Elixir
Elixir examples with Phoenix
Next.js (TypeScript)
Send Email
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
React Email
Send emails with React Email components
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Contact Form
Contact form with batch send via Server Actions
Double Opt-in
Double opt-in subscription flow
Inbound Webhooks
Receive and process inbound emails
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Better Auth
Email authentication with Better Auth
Next.js (JavaScript)
Send Email
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
React Email
Send emails with React Email components
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Contact Form
Contact form with batch send via Server Actions
Double Opt-in
Double opt-in subscription flow
Inbound Webhooks
Receive and process inbound emails
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Better Auth
Email authentication with Better Auth
Express
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Hono
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Bun
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Remix
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Send Email
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Batch Send
Send multiple emails at once
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Domains
Create and manage sending domains
Audiences
Manage contacts and audiences
Webhooks
Handle webhook events
Double Opt-in
Double opt-in subscription flow
Inbound
Receive and process inbound emails
Prevent Threading
Prevent email threading on Gmail
Nuxt
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Send Email
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Batch Send
Send multiple emails at once
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Domains
Create and manage sending domains
Audiences
Manage contacts and audiences
Webhooks
Handle webhook events
SvelteKit
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Send Email
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Batch Send
Send multiple emails at once
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Domains
Create and manage sending domains
Audiences
Manage contacts and audiences
Double Opt-in
Double opt-in subscription flow
Webhooks
Handle webhook events
Astro
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Send Email
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Batch Send
Send multiple emails at once
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Domains
Create and manage sending domains
Audiences
Manage contacts and audiences
Webhooks
Handle webhook events
RedwoodJS
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Send Email
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Batch Send
Send multiple emails at once
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Domains
Create and manage sending domains
Audiences
Manage contacts and audiences
Webhooks
Handle webhook events
Double Opt-in
Double opt-in subscription flow
TanStack Start
TypeScript and JavaScript variants available. Links below point to the TypeScript examples.Send Email
Basic email sending
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Batch Send
Send multiple emails at once
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Domains
Create and manage sending domains
Audiences
Manage contacts and audiences
Webhooks
Handle webhook events
PHP
Basic Send
Basic, batch, and prevent-threading send
Attachments
File attachments and inline images (CID)
Scheduling
Schedule emails for future delivery
Templates
Send emails using Resend hosted templates
Double Opt-in
Double opt-in subscription flow
Inbound Webhooks
Receive and process inbound emails
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Symfony App
Full Symfony web application
Laravel
Email Sending
Basic, scheduled, attachments, CID, templates, and prevent threading
Inbound Webhooks
Handle webhook events
Inbound Email
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Python
Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Scheduling
Schedule emails for future delivery
Templates
Send emails using Resend hosted templates
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Flask App
Full Flask web application
FastAPI App
Full FastAPI web application
Django App
Full Django web application
Ruby
Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Scheduling
Schedule emails for future delivery
Templates
Send emails using Resend hosted templates
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Sinatra App
Full Sinatra web application
Rails App
Full Rails web application
Go
Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Chi App
Full Chi web framework application
Gin App
Full Gin web framework application
Java
Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Javalin App
Full Javalin web framework application
Spring Boot App
Full Spring Boot application
.NET (C#)
Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Minimal API App
ASP.NET Minimal API application
MVC App
ASP.NET MVC application
Rust
Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Axum App
Full Axum web framework application
Elixir
Basic Send
Basic email sending
Batch Send
Send multiple emails at once
Attachments
Send emails with file attachments
Inline Images (CID)
Embed inline images using CID
Templates
Send emails using Resend hosted templates
Scheduling
Schedule emails for future delivery
Prevent Threading
Prevent email threading on Gmail
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Inbound Webhooks
Receive and process inbound emails
Double Opt-in
Double opt-in subscription flow
Phoenix App
Full Phoenix web framework application