https://github.com/resend/resend-phpmailer-smtp-example
This example shows how to use Resend with PHPMailer SMTP
https://github.com/resend/resend-phpmailer-smtp-example
Last synced: 12 months ago
JSON representation
This example shows how to use Resend with PHPMailer SMTP
- Host: GitHub
- URL: https://github.com/resend/resend-phpmailer-smtp-example
- Owner: resend
- License: mit
- Created: 2025-01-25T19:34:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-11T06:05:16.000Z (over 1 year ago)
- Last Synced: 2025-06-26T13:49:58.333Z (12 months ago)
- Language: PHP
- Homepage: https://resend.com/docs/send-with-phpmailer-smtp
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Resend with PHP Mailer
This example shows how to use Resend with [PHPMailer](https://github.com/PHPMailer/PHPMailer).
## Prerequisites
To get the most out of this guide, you’ll need to:
* [Create an API key](https://resend.com/api-keys)
* [Verify your domain](https://resend.com/domains)
## Instructions
1. Replace `re_123456789` on `index.php` with your API key.
2. Install dependencies:
```bash
composer install
```
3. Execute the following command:
```bash
composer run start
```
4. Open URL in the browser:
```
http://127.0.0.1:8000
```
## License
MIT License