# Examples

## Frameworks

::::card-grid
:::card{title="Next.js (TypeScript)" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript" icon="arrow-up-right-from-square"}
Full-stack Next.js app with TypeScript
:::

:::card{title="Next.js (JavaScript)" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript" icon="arrow-up-right-from-square"}
Full-stack Next.js app with JavaScript
:::

:::card{title="Express" href="https://github.com/resend/resend-examples/tree/main/express-resend-examples" icon="arrow-up-right-from-square"}
Express 5 examples (TypeScript and JavaScript)
:::

:::card{title="Hono" href="https://github.com/resend/resend-examples/tree/main/hono-resend-examples" icon="arrow-up-right-from-square"}
Hono examples (TypeScript and JavaScript)
:::

:::card{title="Bun" href="https://github.com/resend/resend-examples/tree/main/bun-resend-examples" icon="arrow-up-right-from-square"}
Bun examples (TypeScript and JavaScript)
:::

:::card{title="Remix" href="https://github.com/resend/resend-examples/tree/main/remix-resend-examples" icon="arrow-up-right-from-square"}
Remix examples (TypeScript and JavaScript)
:::

:::card{title="Nuxt" href="https://github.com/resend/resend-examples/tree/main/nuxt-resend-examples" icon="arrow-up-right-from-square"}
Nuxt 3 examples (TypeScript and JavaScript)
:::

:::card{title="SvelteKit" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples" icon="arrow-up-right-from-square"}
SvelteKit examples (TypeScript and JavaScript)
:::

:::card{title="Astro" href="https://github.com/resend/resend-examples/tree/main/astro-resend-examples" icon="arrow-up-right-from-square"}
Astro examples (TypeScript and JavaScript)
:::

:::card{title="RedwoodJS" href="https://github.com/resend/resend-examples/tree/main/redwoodjs-resend-examples" icon="arrow-up-right-from-square"}
RedwoodJS examples (TypeScript and JavaScript)
:::

:::card{title="TanStack Start" href="https://github.com/resend/resend-examples/tree/main/tanstack-resend-examples" icon="arrow-up-right-from-square"}
TanStack Start examples (TypeScript and JavaScript)
:::

:::card{title="PHP" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples" icon="arrow-up-right-from-square"}
PHP examples with Slim and Symfony
:::

:::card{title="Laravel" href="https://github.com/resend/resend-examples/tree/main/laravel-resend-examples" icon="arrow-up-right-from-square"}
Laravel 11 examples
:::

:::card{title="Python" href="https://github.com/resend/resend-examples/tree/main/python-resend-examples" icon="arrow-up-right-from-square"}
Python examples with Flask, FastAPI, and Django
:::

:::card{title="Ruby" href="https://github.com/resend/resend-examples/tree/main/ruby-resend-examples" icon="arrow-up-right-from-square"}
Ruby examples with Sinatra and Rails
:::

:::card{title="Go" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples" icon="arrow-up-right-from-square"}
Go examples with Chi and Gin
:::

:::card{title="Java" href="https://github.com/resend/resend-examples/tree/main/java-resend-examples" icon="arrow-up-right-from-square"}
Java examples with Javalin and Spring Boot
:::

:::card{title=".NET (C#)" href="https://github.com/resend/resend-examples/tree/main/dotnet-resend-examples" icon="arrow-up-right-from-square"}
ASP.NET Minimal APIs and MVC
:::

:::card{title="Rust" href="https://github.com/resend/resend-examples/tree/main/rust-resend-examples" icon="arrow-up-right-from-square"}
Rust examples with Axum
:::

:::card{title="Elixir" href="https://github.com/resend/resend-examples/tree/main/elixir-resend-examples" icon="arrow-up-right-from-square"}
Elixir examples with Phoenix
:::
::::

## Next.js (TypeScript)

::::card-grid
:::card{title="Send Email" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/send-email" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/attachments" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/cid-attachments" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="React Email" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/react-email" icon="arrow-up-right-from-square"}
Send emails with React Email components
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/templates" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/scheduling" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Contact Form" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/contact-form" icon="arrow-up-right-from-square"}
Contact form with batch send via Server Actions
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/double-optin" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/inbound" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/prevent-threading" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/audiences" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/domains" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Automations" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/automations" icon="arrow-up-right-from-square"}
Create and manage lifecycle automations
:::

:::card{title="Better Auth" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/better-auth" icon="arrow-up-right-from-square"}
Email authentication with Better Auth
:::
::::

## Next.js (JavaScript)

::::card-grid
:::card{title="Send Email" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/send-email" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/attachments" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/cid-attachments" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="React Email" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/react-email" icon="arrow-up-right-from-square"}
Send emails with React Email components
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/templates" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/scheduling" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Contact Form" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/contact-form" icon="arrow-up-right-from-square"}
Contact form with batch send via Server Actions
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/double-optin" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/inbound" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/prevent-threading" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/audiences" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/domains" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Automations" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/automations" icon="arrow-up-right-from-square"}
Create and manage lifecycle automations
:::

:::card{title="Better Auth" href="https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/better-auth" icon="arrow-up-right-from-square"}
Email authentication with Better Auth
:::
::::

## Express

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/basic-send.ts" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/batch-send.ts" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/with-attachments.ts" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/with-cid-attachments.ts" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/with-template.ts" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/scheduled-send.ts" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/prevent-threading.ts" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/audiences.ts" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/domains.ts" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/inbound.ts" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/double-optin-subscribe.ts" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::
::::

## Hono

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/basic-send.ts" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/batch-send.ts" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/with-attachments.ts" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/with-cid-attachments.ts" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/with-template.ts" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/scheduled-send.ts" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/prevent-threading.ts" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/audiences.ts" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/domains.ts" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/inbound.ts" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/double-optin-subscribe.ts" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::
::::

## Bun

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/basic-send.ts" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/batch-send.ts" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/with-attachments.ts" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/with-cid-attachments.ts" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/with-template.ts" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/scheduled-send.ts" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/prevent-threading.ts" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/audiences.ts" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/domains.ts" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/inbound.ts" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/double-optin-subscribe.ts" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::
::::

## Remix

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Send Email" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send.ts" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-attachment.ts" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-cid.ts" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-batch.ts" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-template.ts" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-scheduled.ts" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.domains.ts" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.audiences.contacts.ts" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Webhooks" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.webhook.ts" icon="arrow-up-right-from-square"}
Handle webhook events
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/double-optin.tsx" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Inbound" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/inbound.tsx" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/prevent-threading.tsx" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::
::::

## Nuxt

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Send Email" href="https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send.post.ts" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-attachment.post.ts" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-cid.post.ts" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-batch.post.ts" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-template.post.ts" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-scheduled.post.ts" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/domains.post.ts" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/tree/main/nuxt-resend-examples/typescript/server/api/audiences" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Webhooks" href="https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/webhook.post.ts" icon="arrow-up-right-from-square"}
Handle webhook events
:::
::::

## SvelteKit

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Send Email" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-attachment" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-cid" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-batch" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-template" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-scheduled" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-prevent-threading" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/domains" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/audiences" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/double-optin" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Webhooks" href="https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/webhook" icon="arrow-up-right-from-square"}
Handle webhook events
:::
::::

## Astro

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Send Email" href="https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send.ts" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-attachment.ts" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-cid.ts" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-batch.ts" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-template.ts" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-scheduled.ts" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/domains.ts" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/tree/main/astro-resend-examples/typescript/src/pages/api/audiences" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Webhooks" href="https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/webhook.ts" icon="arrow-up-right-from-square"}
Handle webhook events
:::
::::

## RedwoodJS

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Send Email" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/send.ts" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendAttachment.ts" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendCid.ts" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendBatch.ts" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendTemplate.ts" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendScheduled.ts" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/domains.ts" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/audiencesContacts.ts" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Webhooks" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/webhook.ts" icon="arrow-up-right-from-square"}
Handle webhook events
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/doubleOptinSubscribe.ts" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::
::::

## TanStack Start

TypeScript and JavaScript variants available. Links below point to the TypeScript examples.

::::card-grid
:::card{title="Send Email" href="https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send.ts" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-attachment.ts" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-cid.ts" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-batch.ts" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-template.ts" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-scheduled.ts" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/domains.ts" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/tree/main/tanstack-resend-examples/typescript/src/routes/api/audiences" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Webhooks" href="https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/webhook.ts" icon="arrow-up-right-from-square"}
Handle webhook events
:::
::::

## PHP

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/send" icon="arrow-up-right-from-square"}
Basic, batch, and prevent-threading send
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/attachments" icon="arrow-up-right-from-square"}
File attachments and inline images (CID)
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/scheduling" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/templates" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/double-optin" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/inbound" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/audiences" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/domains" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Automations" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/automations" icon="arrow-up-right-from-square"}
Create and manage lifecycle automations
:::

:::card{title="Symfony App" href="https://github.com/resend/resend-examples/tree/main/php-resend-examples/symfony_app" icon="arrow-up-right-from-square"}
Full Symfony web application
:::
::::

## Laravel

::::card-grid
:::card{title="Email Sending" href="https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/EmailController.php" icon="arrow-up-right-from-square"}
Basic, scheduled, attachments, CID, templates, and prevent threading
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/WebhookController.php" icon="arrow-up-right-from-square"}
Handle webhook events
:::

:::card{title="Inbound Email" href="https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/InboundController.php" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/DoubleOptinController.php" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/AudienceController.php" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/DomainController.php" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::
::::

## Python

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/basic_send.py" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/batch_send.py" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/with_attachments.py" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/with_cid_attachments.py" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/scheduled_send.py" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/with_template.py" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/prevent_threading.py" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/audiences.py" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/domains.py" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Automations" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/automations.py" icon="arrow-up-right-from-square"}
Create and manage lifecycle automations
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/inbound.py" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/double_optin_subscribe.py" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Flask App" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/flask_app.py" icon="arrow-up-right-from-square"}
Full Flask web application
:::

:::card{title="FastAPI App" href="https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/fastapi_app.py" icon="arrow-up-right-from-square"}
Full FastAPI web application
:::

:::card{title="Django App" href="https://github.com/resend/resend-examples/tree/main/python-resend-examples/django_app" icon="arrow-up-right-from-square"}
Full Django web application
:::
::::

## Ruby

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/basic_send.rb" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/batch_send.rb" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/with_attachments.rb" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/with_cid_attachments.rb" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/scheduled_send.rb" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/with_template.rb" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/prevent_threading.rb" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/audiences.rb" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/domains.rb" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Automations" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/automations.rb" icon="arrow-up-right-from-square"}
Create and manage lifecycle automations
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/inbound.rb" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/tree/main/ruby-resend-examples/examples/double_optin" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Sinatra App" href="https://github.com/resend/resend-examples/tree/main/ruby-resend-examples/sinatra_app" icon="arrow-up-right-from-square"}
Full Sinatra web application
:::

:::card{title="Rails App" href="https://github.com/resend/resend-examples/tree/main/ruby-resend-examples/rails_app" icon="arrow-up-right-from-square"}
Full Rails web application
:::
::::

## Go

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/basic_send" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/batch_send" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/with_attachments" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/with_cid_attachments" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/with_template" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/scheduled_send" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/prevent_threading" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/audiences" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/domains" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/inbound" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/double_optin" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Chi App" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/chi_app" icon="arrow-up-right-from-square"}
Full Chi web framework application
:::

:::card{title="Gin App" href="https://github.com/resend/resend-examples/tree/main/go-resend-examples/gin_app" icon="arrow-up-right-from-square"}
Full Gin web framework application
:::
::::

## Java

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/BasicSend.java" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/BatchSend.java" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/WithAttachments.java" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/WithCidAttachments.java" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/WithTemplate.java" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/ScheduledSend.java" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/PreventThreading.java" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/Audiences.java" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/Domains.java" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Automations" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/Automations.java" icon="arrow-up-right-from-square"}
Create and manage lifecycle automations
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/Inbound.java" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/DoubleOptinSubscribe.java" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Javalin App" href="https://github.com/resend/resend-examples/tree/main/java-resend-examples/javalin_app" icon="arrow-up-right-from-square"}
Full Javalin web framework application
:::

:::card{title="Spring Boot App" href="https://github.com/resend/resend-examples/tree/main/java-resend-examples/spring_boot_app" icon="arrow-up-right-from-square"}
Full Spring Boot application
:::
::::

## .NET (C#)

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/BasicSend.cs" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/BatchSend.cs" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/WithAttachments.cs" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/WithCidAttachments.cs" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/WithTemplate.cs" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/ScheduledSend.cs" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/PreventThreading.cs" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/Audiences.cs" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/Domains.cs" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Automations" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/Automations.cs" icon="arrow-up-right-from-square"}
Create and manage lifecycle automations
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/Inbound.cs" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/DoubleOptinSubscribe.cs" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Minimal API App" href="https://github.com/resend/resend-examples/tree/main/dotnet-resend-examples/MinimalApiApp" icon="arrow-up-right-from-square"}
ASP.NET Minimal API application
:::

:::card{title="MVC App" href="https://github.com/resend/resend-examples/tree/main/dotnet-resend-examples/MvcApp" icon="arrow-up-right-from-square"}
ASP.NET MVC application
:::
::::

## Rust

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/basic_send.rs" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/batch_send.rs" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/with_attachments.rs" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/with_cid_attachments.rs" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/with_template.rs" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/scheduled_send.rs" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/prevent_threading.rs" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/audiences.rs" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/domains.rs" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Automations" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/automations.rs" icon="arrow-up-right-from-square"}
Create and manage lifecycle automations
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/inbound.rs" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/double_optin_subscribe.rs" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Axum App" href="https://github.com/resend/resend-examples/tree/main/rust-resend-examples/axum_app" icon="arrow-up-right-from-square"}
Full Axum web framework application
:::
::::

## Elixir

::::card-grid
:::card{title="Basic Send" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/basic_send.exs" icon="arrow-up-right-from-square"}
Basic email sending
:::

:::card{title="Batch Send" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/batch_send.exs" icon="arrow-up-right-from-square"}
Send multiple emails at once
:::

:::card{title="Attachments" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/with_attachments.exs" icon="arrow-up-right-from-square"}
Send emails with file attachments
:::

:::card{title="Inline Images (CID)" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/with_cid_attachments.exs" icon="arrow-up-right-from-square"}
Embed inline images using CID
:::

:::card{title="Templates" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/with_template.exs" icon="arrow-up-right-from-square"}
Send emails using Resend hosted templates
:::

:::card{title="Scheduling" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/scheduled_send.exs" icon="arrow-up-right-from-square"}
Schedule emails for future delivery
:::

:::card{title="Prevent Threading" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/prevent_threading.exs" icon="arrow-up-right-from-square"}
Prevent email threading on Gmail
:::

:::card{title="Audiences" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/audiences.exs" icon="arrow-up-right-from-square"}
Manage contacts and audiences
:::

:::card{title="Domains" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/domains.exs" icon="arrow-up-right-from-square"}
Create and manage sending domains
:::

:::card{title="Inbound Webhooks" href="https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/inbound.exs" icon="arrow-up-right-from-square"}
Receive and process inbound emails
:::

:::card{title="Double Opt-in" href="https://github.com/resend/resend-examples/tree/main/elixir-resend-examples/examples/double_optin" icon="arrow-up-right-from-square"}
Double opt-in subscription flow
:::

:::card{title="Phoenix App" href="https://github.com/resend/resend-examples/tree/main/elixir-resend-examples/phoenix_app" icon="arrow-up-right-from-square"}
Full Phoenix web framework application
:::
::::

## Related pages

- [Account Management](./account-management-index.md)
- [API Keys](./api-keys-2-index.md)
- [API Keys](./api-keys-index.md)
- [API Reference](./api-reference-index.md)
- [AudiencesDEPRECATED](./audiencesdeprecated-index.md)
- [Authorized Apps](./authorized-apps-index.md)
- [Automations](./automations-index.md)
- [Broadcasts](./broadcasts-index.md)
- [Build with AI](./build-with-ai-index.md)
- [Changelog](../changelog.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
