Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 764 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 764 Bytes

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!