2017 © Pedro Peláez
 

library e50-mail-laravel

Laravel email facade with support for multiple Mailgun domains.

image

elite50/e50-mail-laravel

Laravel email facade with support for multiple Mailgun domains.

  • Thursday, July 12, 2018
  • by futurityverb
  • Repository
  • 13 Watchers
  • 0 Stars
  • 509 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Elite50 E50Mail Laravel Facade

An extension of Laravel's Mail facade allowing for dynamic configuration., (*1)

Using the facade

Install via composer

composer require elite50/e50-mail-laravel

Include in app/config/app.php

'providers' => array (
    ...
    'Elite50\E50MailLaravel\E50MailServiceProvider',
),

'aliases' => array (
    ...
    'E50Mail' => 'Elite50\E50MailLaravel\Facades\E50Mail',
    'E50MailWorker' => 'Elite50\E50MailLaravel\E50MailWorker',
)

Use the facade in your application

Example:
E50Mail::queue(
    // Sender domain (required for Mailgun only)
    'example.com',

    // Views
    ['html' => 'views.html-email'],

    // View data
    ['name' => 'John Doe'],

    // Message data
    [
        'toEmail' => 'john@example.com',
        'toName' => 'John Doe',
        'fromEmail' => 'robot@example.com',
        'fromName' => 'Mail Robot',
        'subject' => 'Action Required!',
        'headers' => [
            'X-Mail-Header' => 'abcd1234',
        ],
    ],

    // Custom driver (DEPRECATED - use custom mail config)
    'mailgun',

    // Custom queue
    'QueueName',

    // Custom mail config
    [
        'driver' => 'smtp',
        'host' => 'smtp.myhost.com',
    ]
);

The Versions

12/07 2018

dev-master

9999999-dev

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3 GPL-3.0-only

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

12/07 2018

v1.3.0

1.3.0.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPL-3.0-only

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

03/07 2018

v1.2.1

1.2.1.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPL-3.0-only

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

03/07 2018

dev-hotfix/tlsv12

dev-hotfix/tlsv12

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPL-3.0-only

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

02/11 2017

v1.2.0

1.2.0.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

22/06 2017

v1.1.0

1.1.0.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

21/11 2016

v1.0.1

1.0.1.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

21/11 2016

v1.0.0

1.0.0.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

26/07 2016

v0.1.2

0.1.2.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

22/04 2016

v0.1.1

0.1.1.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

05/10 2015

v0.1.0

0.1.0.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

23/09 2015

v0.0.3

0.0.3.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

26/02 2015

v0.0.2

0.0.2.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun

26/02 2015

v0.0.1

0.0.1.0

Laravel email facade with support for multiple Mailgun domains.

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by Will Durney

laravel mail facade mailgun