https://github.com/flagrow/mail-drivers
Send email via Mailgun, Mandrill or SES api
https://github.com/flagrow/mail-drivers
Last synced: 6 months ago
JSON representation
Send email via Mailgun, Mandrill or SES api
- Host: GitHub
- URL: https://github.com/flagrow/mail-drivers
- Owner: flagrow
- License: mit
- Archived: true
- Created: 2018-05-05T22:22:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-07T22:22:51.000Z (over 7 years ago)
- Last Synced: 2024-05-27T20:48:44.014Z (about 2 years ago)
- Language: JavaScript
- Homepage: https://discuss.flarum.org/d/11800-flagrow-mail-drivers-send-email-via-mailgun-mandrill-or-ses-api
- Size: 96.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Mail Drivers by  [Flagrow](https://discuss.flarum.org/d/1832-flagrow-extension-developer-group), a project of [Gravure](https://gravure.io/)
[](https://github.com/flagrow/mail-drivers/blob/master/LICENSE.md) [](https://packagist.org/packages/flagrow/mail-drivers) [](https://packagist.org/packages/flagrow/mail-drivers) [](https://flagrow.io/join-discord)
This extension lets you use other mail drivers already included with the library Flarum uses for mail but which had no way to be configured by the forum owner.
The drivers are **Mailgun**, **Mandrill** and **Amazon SES**.
These drivers are API-based which means you can usually use them even if the host has blocked outbound SMTP.
## Installation
Use [Bazaar](https://discuss.flarum.org/d/5151-flagrow-bazaar-the-extension-marketplace) or install manually:
```bash
composer require flagrow/mail-drivers
```
## Updating
```bash
composer update flagrow/mail-drivers
php flarum migrate
php flarum cache:clear
```
## Configuration
Open the extension settings to configure your driver credentials.
All the credentials are saved even if you don't enable the driver.
Clicking "set the mail driver to ..." will update your current "driver" setting from the Email tab.
You can go back to the SMTP driver by setting "driver" to "smtp" in the Email tab of the admin panel.
**Disabling this extension won't automatically switch you back to SMTP !**
Mailgun and Mandrill will work out of the box.
Before configuring the SES driver you need to install the Amazon SDK with `composer require aws/aws-sdk-php:~3.0`.
## Security
If you discover a security vulnerability within Mail Drivers, please send an email to the Gravure team at security@gravure.io. All security vulnerabilities will be promptly addressed.
Please include as many details as possible. You can use `php flarum info` to get the PHP, Flarum and extension versions installed.
## Links
- [Flarum Discuss post](https://discuss.flarum.org/d/11800-flagrow-mail-drivers-send-email-via-mailgun-mandrill-or-ses-api)
- [Source code on GitHub](https://github.com/flagrow/mail-drivers)
- [Report an issue](https://github.com/flagrow/mail-drivers/issues)
- [Download via Packagist](https://packagist.org/packages/flagrow/mail-drivers)
An extension by [Flagrow](https://flagrow.io/), a project of [Gravure](https://gravure.io/).