Package Data | |
---|---|
Maintainer Username: | jeffer8a |
Maintainer Contact: | jeffer.8a@gmail.com (Jeff) |
Package Create Date: | 2017-01-03 |
Package Last Update: | 2017-01-03 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:24:35 |
Package Statistics | |
---|---|
Total Downloads: | 7 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Extended Laravel 5 Mail class with Postmark support... more soon.
This package don't replace the Laravel Mail class this is only an extension to add support to more mail services like "postmark".
composer require tropicalapps/mail
Change this line
Illuminate\Mail\MailServiceProvider::class
With this
\TropicalApps\Mail\CustomMailServiceProvider::class,
Add the Postmark service configuration
'postmark' => [
'token' => env('POSTMARK_TOKEN')
]
Add the follow vars to your environment configuration file
MAIL_FROM=your@mail.com
POSTMARK_TOKEN=ac497d4b-625c-4f41-9f59-4dad3660a665
Just select "postmark" as your mail driver by changing the follow var in the .env file
MAIL_DRIVER=postmark
For more info go to https://postmarkapp.com/