Skip to content

tylersatre/laravel-mandrill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

composer require homicity/laravel-mandrill

Then publish the config file

php artisan vendor:publish --provider="Homicity\MandrillMailable\Providers\MandrillMailableServiceProvider" --tag="config"

Config

Add into your .env file

MANDRILL_SECRET={your mandrill api key}
MANDRILL_FROM_EMAIL={your from email address}
MANDRILL_FROM_NAME={your from name}

Usage

Mail::mandrill()
    ->to('[email protected]')
    ->name('John Doe')
    ->templateName('template-name')
    ->fromEmail('[email protected]')
    ->fromName('Example Website')
    ->subject('Hello Mandrill')
    ->send();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%