mcamara / Laravel-Postmark-Driver

Send mail with postmarkapp trough Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send emails in Laravel 4 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. Please note that this package is for Laravel 4 and does not work in Laravel 5.

Add this to your composer.json

"snowfire/mail": "dev-master"

Open app.php and remove this line:

Illuminate\Mail\MailServiceProvider

Add

Snowfire\Mail\MailServiceProvider

In your config file mail.php change your driver to postmark.

'driver' => '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!

About

Send mail with postmarkapp trough Laravel

License:MIT License


Languages

Language:PHP 100.0%