snowfire/mail
Adds postmark as an additional email driver in Laravel
104,186
27
| Install | |
|---|---|
composer require snowfire/mail |
|
| Latest Version: | v2.1 |
| PHP: | >=5.4.0 |
| License: | MIT |
| Last Updated: | Sep 21, 2018 |
| Links: | GitHub · Packagist |
Maintainer: emilsundberg
Send emails in Laravel with Postmark
Postmarkapp is an excellent ESP (Email Service Provider). This package makes it possible to send your emails with Postmark without modifing your code.
Using Laravel 4? Visit the laravel-4 branch
Add this to your composer.json
"snowfire/mail": "2.*"
Open app.php and remove this line:
Illuminate\Mail\MailServiceProvider
Add
Snowfire\Mail\PostmarkServiceProvider
In your .env change your driver to postmark.
In your config file services.php add your postmark api key.
'postmark' => [
'api_key' => ''
],
Run a composer update and you are ready to go!