Prerequisites
Before you start, you’ll need:- A Resend API key
- A verified domain
1. Install
Get the Resend PHP SDK.Composer
2. Send email using HTML
The easiest way to send an email is by using thehtml parameter.
index.php
3. Try it yourself
Basic Send
Basic, batch, and prevent-threading send
Attachments
File attachments and inline images (CID)
Scheduling
Schedule emails for future delivery
Templates
Send emails using Resend hosted templates
Double Opt-in
Double opt-in subscription flow
Inbound Webhooks
Receive and process inbound emails
Audiences
Manage contacts and audiences
Domains
Create and manage sending domains
Symfony App
Full Symfony web application