> ## Documentation Index
> Fetch the complete documentation index at: https://resend.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Examples

> Explore sample apps for different use cases.

## Frameworks

> [card] [Next.js (TypeScript)](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript)
>
> Full-stack Next.js app with TypeScript

> [card] [Next.js (JavaScript)](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript)
>
> Full-stack Next.js app with JavaScript

> [card] [Express](https://github.com/resend/resend-examples/tree/main/express-resend-examples)
>
> Express 5 examples (TypeScript and JavaScript)

> [card] [Hono](https://github.com/resend/resend-examples/tree/main/hono-resend-examples)
>
> Hono examples (TypeScript and JavaScript)

> [card] [Bun](https://github.com/resend/resend-examples/tree/main/bun-resend-examples)
>
> Bun examples (TypeScript and JavaScript)

> [card] [Remix](https://github.com/resend/resend-examples/tree/main/remix-resend-examples)
>
> Remix examples (TypeScript and JavaScript)

> [card] [Nuxt](https://github.com/resend/resend-examples/tree/main/nuxt-resend-examples)
>
> Nuxt 3 examples (TypeScript and JavaScript)

> [card] [SvelteKit](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples)
>
> SvelteKit examples (TypeScript and JavaScript)

> [card] [Astro](https://github.com/resend/resend-examples/tree/main/astro-resend-examples)
>
> Astro examples (TypeScript and JavaScript)

> [card] [RedwoodJS](https://github.com/resend/resend-examples/tree/main/redwoodjs-resend-examples)
>
> RedwoodJS examples (TypeScript and JavaScript)

> [card] [TanStack Start](https://github.com/resend/resend-examples/tree/main/tanstack-resend-examples)
>
> TanStack Start examples (TypeScript and JavaScript)

> [card] [PHP](https://github.com/resend/resend-examples/tree/main/php-resend-examples)
>
> PHP examples with Slim and Symfony

> [card] [Laravel](https://github.com/resend/resend-examples/tree/main/laravel-resend-examples)
>
> Laravel 11 examples

> [card] [Python](https://github.com/resend/resend-examples/tree/main/python-resend-examples)
>
> Python examples with Flask, FastAPI, and Django

> [card] [Ruby](https://github.com/resend/resend-examples/tree/main/ruby-resend-examples)
>
> Ruby examples with Sinatra and Rails

> [card] [Go](https://github.com/resend/resend-examples/tree/main/go-resend-examples)
>
> Go examples with Chi and Gin

> [card] [Java](https://github.com/resend/resend-examples/tree/main/java-resend-examples)
>
> Java examples with Javalin and Spring Boot

> [card] [.NET (C#)](https://github.com/resend/resend-examples/tree/main/dotnet-resend-examples)
>
> ASP.NET Minimal APIs and MVC

> [card] [Rust](https://github.com/resend/resend-examples/tree/main/rust-resend-examples)
>
> Rust examples with Axum

> [card] [Elixir](https://github.com/resend/resend-examples/tree/main/elixir-resend-examples)
>
> Elixir examples with Phoenix

## Next.js (TypeScript)

> [card] [Send Email](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/send-email)
>
> Basic email sending

> [card] [Attachments](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/attachments)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/cid-attachments)
>
> Embed inline images using CID

> [card] [React Email](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/react-email)
>
> Send emails with React Email components

> [card] [Templates](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/templates)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/scheduling)
>
> Schedule emails for future delivery

> [card] [Contact Form](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/contact-form)
>
> Contact form with batch send via Server Actions

> [card] [Double Opt-in](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/double-optin)
>
> Double opt-in subscription flow

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/inbound)
>
> Receive and process inbound emails

> [card] [Prevent Threading](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/prevent-threading)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/audiences)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/domains)
>
> Create and manage sending domains

> [card] [Automations](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/automations)
>
> Create and manage lifecycle automations

> [card] [Better Auth](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/typescript/src/app/better-auth)
>
> Email authentication with Better Auth

## Next.js (JavaScript)

> [card] [Send Email](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/send-email)
>
> Basic email sending

> [card] [Attachments](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/attachments)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/cid-attachments)
>
> Embed inline images using CID

> [card] [React Email](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/react-email)
>
> Send emails with React Email components

> [card] [Templates](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/templates)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/scheduling)
>
> Schedule emails for future delivery

> [card] [Contact Form](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/contact-form)
>
> Contact form with batch send via Server Actions

> [card] [Double Opt-in](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/double-optin)
>
> Double opt-in subscription flow

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/inbound)
>
> Receive and process inbound emails

> [card] [Prevent Threading](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/prevent-threading)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/audiences)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/domains)
>
> Create and manage sending domains

> [card] [Automations](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/automations)
>
> Create and manage lifecycle automations

> [card] [Better Auth](https://github.com/resend/resend-examples/tree/main/nextjs-resend-examples/javascript/src/app/better-auth)
>
> Email authentication with Better Auth

## Express

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

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/basic-send.ts)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/batch-send.ts)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/with-attachments.ts)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/with-cid-attachments.ts)
>
> Embed inline images using CID

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/with-template.ts)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/scheduled-send.ts)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/prevent-threading.ts)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/audiences.ts)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/domains.ts)
>
> Create and manage sending domains

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/inbound.ts)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/express-resend-examples/typescript/examples/double-optin-subscribe.ts)
>
> Double opt-in subscription flow

## Hono

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

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/basic-send.ts)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/batch-send.ts)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/with-attachments.ts)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/with-cid-attachments.ts)
>
> Embed inline images using CID

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/with-template.ts)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/scheduled-send.ts)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/prevent-threading.ts)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/audiences.ts)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/domains.ts)
>
> Create and manage sending domains

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/inbound.ts)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/hono-resend-examples/typescript/examples/double-optin-subscribe.ts)
>
> Double opt-in subscription flow

## Bun

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

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/basic-send.ts)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/batch-send.ts)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/with-attachments.ts)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/with-cid-attachments.ts)
>
> Embed inline images using CID

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/with-template.ts)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/scheduled-send.ts)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/prevent-threading.ts)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/audiences.ts)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/domains.ts)
>
> Create and manage sending domains

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/inbound.ts)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/bun-resend-examples/typescript/examples/double-optin-subscribe.ts)
>
> Double opt-in subscription flow

## Remix

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

> [card] [Send Email](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send.ts)
>
> Basic email sending

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-attachment.ts)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-cid.ts)
>
> Embed inline images using CID

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-batch.ts)
>
> Send multiple emails at once

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-template.ts)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.send-scheduled.ts)
>
> Schedule emails for future delivery

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.domains.ts)
>
> Create and manage sending domains

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.audiences.contacts.ts)
>
> Manage contacts and audiences

> [card] [Webhooks](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/api.webhook.ts)
>
> Handle webhook events

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/double-optin.tsx)
>
> Double opt-in subscription flow

> [card] [Inbound](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/inbound.tsx)
>
> Receive and process inbound emails

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/remix-resend-examples/typescript/app/routes/prevent-threading.tsx)
>
> Prevent email threading on Gmail

## Nuxt

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

> [card] [Send Email](https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send.post.ts)
>
> Basic email sending

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-attachment.post.ts)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-cid.post.ts)
>
> Embed inline images using CID

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-batch.post.ts)
>
> Send multiple emails at once

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-template.post.ts)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/send-scheduled.post.ts)
>
> Schedule emails for future delivery

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/domains.post.ts)
>
> Create and manage sending domains

> [card] [Audiences](https://github.com/resend/resend-examples/tree/main/nuxt-resend-examples/typescript/server/api/audiences)
>
> Manage contacts and audiences

> [card] [Webhooks](https://github.com/resend/resend-examples/blob/main/nuxt-resend-examples/typescript/server/api/webhook.post.ts)
>
> Handle webhook events

## SvelteKit

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

> [card] [Send Email](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send)
>
> Basic email sending

> [card] [Attachments](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-attachment)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-cid)
>
> Embed inline images using CID

> [card] [Batch Send](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-batch)
>
> Send multiple emails at once

> [card] [Templates](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-template)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-scheduled)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/send-prevent-threading)
>
> Prevent email threading on Gmail

> [card] [Domains](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/domains)
>
> Create and manage sending domains

> [card] [Audiences](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/audiences)
>
> Manage contacts and audiences

> [card] [Double Opt-in](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/double-optin)
>
> Double opt-in subscription flow

> [card] [Webhooks](https://github.com/resend/resend-examples/tree/main/sveltekit-resend-examples/typescript/src/routes/api/webhook)
>
> Handle webhook events

## Astro

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

> [card] [Send Email](https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send.ts)
>
> Basic email sending

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-attachment.ts)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-cid.ts)
>
> Embed inline images using CID

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-batch.ts)
>
> Send multiple emails at once

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-template.ts)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/send-scheduled.ts)
>
> Schedule emails for future delivery

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/domains.ts)
>
> Create and manage sending domains

> [card] [Audiences](https://github.com/resend/resend-examples/tree/main/astro-resend-examples/typescript/src/pages/api/audiences)
>
> Manage contacts and audiences

> [card] [Webhooks](https://github.com/resend/resend-examples/blob/main/astro-resend-examples/typescript/src/pages/api/webhook.ts)
>
> Handle webhook events

## RedwoodJS

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

> [card] [Send Email](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/send.ts)
>
> Basic email sending

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendAttachment.ts)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendCid.ts)
>
> Embed inline images using CID

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendBatch.ts)
>
> Send multiple emails at once

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendTemplate.ts)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/sendScheduled.ts)
>
> Schedule emails for future delivery

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/domains.ts)
>
> Create and manage sending domains

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/audiencesContacts.ts)
>
> Manage contacts and audiences

> [card] [Webhooks](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/webhook.ts)
>
> Handle webhook events

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/redwoodjs-resend-examples/typescript/api/src/functions/doubleOptinSubscribe.ts)
>
> Double opt-in subscription flow

## TanStack Start

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

> [card] [Send Email](https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send.ts)
>
> Basic email sending

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-attachment.ts)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-cid.ts)
>
> Embed inline images using CID

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-batch.ts)
>
> Send multiple emails at once

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-template.ts)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/send-scheduled.ts)
>
> Schedule emails for future delivery

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/domains.ts)
>
> Create and manage sending domains

> [card] [Audiences](https://github.com/resend/resend-examples/tree/main/tanstack-resend-examples/typescript/src/routes/api/audiences)
>
> Manage contacts and audiences

> [card] [Webhooks](https://github.com/resend/resend-examples/blob/main/tanstack-resend-examples/typescript/src/routes/api/webhook.ts)
>
> Handle webhook events

## PHP

> [card] [Basic Send](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/send)
>
> Basic, batch, and prevent-threading send

> [card] [Attachments](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/attachments)
>
> File attachments and inline images (CID)

> [card] [Scheduling](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/scheduling)
>
> Schedule emails for future delivery

> [card] [Templates](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/templates)
>
> Send emails using Resend hosted templates

> [card] [Double Opt-in](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/double-optin)
>
> Double opt-in subscription flow

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/inbound)
>
> Receive and process inbound emails

> [card] [Audiences](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/audiences)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/domains)
>
> Create and manage sending domains

> [card] [Automations](https://github.com/resend/resend-examples/tree/main/php-resend-examples/src/automations)
>
> Create and manage lifecycle automations

> [card] [Symfony App](https://github.com/resend/resend-examples/tree/main/php-resend-examples/symfony_app)
>
> Full Symfony web application

## Laravel

> [card] [Email Sending](https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/EmailController.php)
>
> Basic, scheduled, attachments, CID, templates, and prevent threading

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/WebhookController.php)
>
> Handle webhook events

> [card] [Inbound Email](https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/InboundController.php)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/DoubleOptinController.php)
>
> Double opt-in subscription flow

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/AudienceController.php)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/laravel-resend-examples/app/Http/Controllers/DomainController.php)
>
> Create and manage sending domains

## Python

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/basic_send.py)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/batch_send.py)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/with_attachments.py)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/with_cid_attachments.py)
>
> Embed inline images using CID

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/scheduled_send.py)
>
> Schedule emails for future delivery

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/with_template.py)
>
> Send emails using Resend hosted templates

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/prevent_threading.py)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/audiences.py)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/domains.py)
>
> Create and manage sending domains

> [card] [Automations](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/automations.py)
>
> Create and manage lifecycle automations

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/inbound.py)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/double_optin_subscribe.py)
>
> Double opt-in subscription flow

> [card] [Flask App](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/flask_app.py)
>
> Full Flask web application

> [card] [FastAPI App](https://github.com/resend/resend-examples/blob/main/python-resend-examples/examples/fastapi_app.py)
>
> Full FastAPI web application

> [card] [Django App](https://github.com/resend/resend-examples/tree/main/python-resend-examples/django_app)
>
> Full Django web application

## Ruby

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/basic_send.rb)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/batch_send.rb)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/with_attachments.rb)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/with_cid_attachments.rb)
>
> Embed inline images using CID

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/scheduled_send.rb)
>
> Schedule emails for future delivery

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/with_template.rb)
>
> Send emails using Resend hosted templates

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/prevent_threading.rb)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/audiences.rb)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/domains.rb)
>
> Create and manage sending domains

> [card] [Automations](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/automations.rb)
>
> Create and manage lifecycle automations

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/ruby-resend-examples/examples/inbound.rb)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/tree/main/ruby-resend-examples/examples/double_optin)
>
> Double opt-in subscription flow

> [card] [Sinatra App](https://github.com/resend/resend-examples/tree/main/ruby-resend-examples/sinatra_app)
>
> Full Sinatra web application

> [card] [Rails App](https://github.com/resend/resend-examples/tree/main/ruby-resend-examples/rails_app)
>
> Full Rails web application

## Go

> [card] [Basic Send](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/basic_send)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/batch_send)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/with_attachments)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/with_cid_attachments)
>
> Embed inline images using CID

> [card] [Templates](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/with_template)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/scheduled_send)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/prevent_threading)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/audiences)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/domains)
>
> Create and manage sending domains

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/inbound)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/tree/main/go-resend-examples/examples/double_optin)
>
> Double opt-in subscription flow

> [card] [Chi App](https://github.com/resend/resend-examples/tree/main/go-resend-examples/chi_app)
>
> Full Chi web framework application

> [card] [Gin App](https://github.com/resend/resend-examples/tree/main/go-resend-examples/gin_app)
>
> Full Gin web framework application

## Java

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/BasicSend.java)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/BatchSend.java)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/WithAttachments.java)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/WithCidAttachments.java)
>
> Embed inline images using CID

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/WithTemplate.java)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/ScheduledSend.java)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/PreventThreading.java)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/Audiences.java)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/Domains.java)
>
> Create and manage sending domains

> [card] [Automations](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/Automations.java)
>
> Create and manage lifecycle automations

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/Inbound.java)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/java-resend-examples/src/main/java/com/resend/examples/DoubleOptinSubscribe.java)
>
> Double opt-in subscription flow

> [card] [Javalin App](https://github.com/resend/resend-examples/tree/main/java-resend-examples/javalin_app)
>
> Full Javalin web framework application

> [card] [Spring Boot App](https://github.com/resend/resend-examples/tree/main/java-resend-examples/spring_boot_app)
>
> Full Spring Boot application

## .NET (C#)

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/BasicSend.cs)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/BatchSend.cs)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/WithAttachments.cs)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/WithCidAttachments.cs)
>
> Embed inline images using CID

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/WithTemplate.cs)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/ScheduledSend.cs)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/PreventThreading.cs)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/Audiences.cs)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/Domains.cs)
>
> Create and manage sending domains

> [card] [Automations](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/Automations.cs)
>
> Create and manage lifecycle automations

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/Inbound.cs)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/dotnet-resend-examples/Examples/DoubleOptinSubscribe.cs)
>
> Double opt-in subscription flow

> [card] [Minimal API App](https://github.com/resend/resend-examples/tree/main/dotnet-resend-examples/MinimalApiApp)
>
> ASP.NET Minimal API application

> [card] [MVC App](https://github.com/resend/resend-examples/tree/main/dotnet-resend-examples/MvcApp)
>
> ASP.NET MVC application

## Rust

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/basic_send.rs)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/batch_send.rs)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/with_attachments.rs)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/with_cid_attachments.rs)
>
> Embed inline images using CID

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/with_template.rs)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/scheduled_send.rs)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/prevent_threading.rs)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/audiences.rs)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/domains.rs)
>
> Create and manage sending domains

> [card] [Automations](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/automations.rs)
>
> Create and manage lifecycle automations

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/inbound.rs)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/blob/main/rust-resend-examples/examples/double_optin_subscribe.rs)
>
> Double opt-in subscription flow

> [card] [Axum App](https://github.com/resend/resend-examples/tree/main/rust-resend-examples/axum_app)
>
> Full Axum web framework application

## Elixir

> [card] [Basic Send](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/basic_send.exs)
>
> Basic email sending

> [card] [Batch Send](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/batch_send.exs)
>
> Send multiple emails at once

> [card] [Attachments](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/with_attachments.exs)
>
> Send emails with file attachments

> [card] [Inline Images (CID)](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/with_cid_attachments.exs)
>
> Embed inline images using CID

> [card] [Templates](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/with_template.exs)
>
> Send emails using Resend hosted templates

> [card] [Scheduling](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/scheduled_send.exs)
>
> Schedule emails for future delivery

> [card] [Prevent Threading](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/prevent_threading.exs)
>
> Prevent email threading on Gmail

> [card] [Audiences](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/audiences.exs)
>
> Manage contacts and audiences

> [card] [Domains](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/domains.exs)
>
> Create and manage sending domains

> [card] [Inbound Webhooks](https://github.com/resend/resend-examples/blob/main/elixir-resend-examples/examples/inbound.exs)
>
> Receive and process inbound emails

> [card] [Double Opt-in](https://github.com/resend/resend-examples/tree/main/elixir-resend-examples/examples/double_optin)
>
> Double opt-in subscription flow

> [card] [Phoenix App](https://github.com/resend/resend-examples/tree/main/elixir-resend-examples/phoenix_app)
>
> Full Phoenix web framework application
