Prerequisites
Before you start, you’ll need:- A Resend API key
- A verified domain
Guide
1
Install
Get the PHPMailer package.
2
Send email using SMTP
When configuring your SMTP integration, you’ll need to use the following credentials:
- Host:
smtp.resend.com - Port:
587 - Username:
resend - Password:
YOUR_API_KEY
Examples
PHPMailer SMTP Example
See the full source code.