2017 © Pedro Peláez
 

library mail

Laravel MailServiceProvider with Postmark support

image

tropicalapps/mail

Laravel MailServiceProvider with Postmark support

  • Tuesday, January 3, 2017
  • by jeffer8a
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

TropicalApps\Mail

Extended Laravel 5 Mail class with Postmark support... more soon., (*1)

About

This package don't replace the Laravel Mail class this is only an extension to add support to more mail services like "postmark"., (*2)

Install

composer require tropicalapps/mail

config/app.php

Change this line, (*3)

Illuminate\Mail\MailServiceProvider::class

With this, (*4)

\TropicalApps\Mail\CustomMailServiceProvider::class,

config/services.php

Add the Postmark service configuration, (*5)

'postmark' => [
    'token' => env('POSTMARK_TOKEN')
]

.env file

Add the follow vars to your environment configuration file, (*6)

MAIL_FROM=your@mail.com
POSTMARK_TOKEN=ac497d4b-625c-4f41-9f59-4dad3660a665

Usage

Just select "postmark" as your mail driver by changing the follow var in the .env file, (*7)

MAIL_DRIVER=postmark

Info

  • You need to create an account in : https://postmarkapp.com/
  • The mail account used in the MAIL_FROM variable should be confirmmed and you can't use public email domains like gmail, outlook, etc., (*8)

    For more info go to https://postmarkapp.com/, (*9)

The Versions

03/01 2017

dev-master

9999999-dev

Laravel MailServiceProvider with Postmark support

  Sources   Download

MIT