An open API service indexing awesome lists of open source software.

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

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