Download the PHP package therobfonz/laravel-mandrill-driver without Composer
On this page you can find all versions of the php package therobfonz/laravel-mandrill-driver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download therobfonz/laravel-mandrill-driver
More information about therobfonz/laravel-mandrill-driver
Files in therobfonz/laravel-mandrill-driver
Package laravel-mandrill-driver
Short Description Mandrill Driver for Laravel 9+
License MIT
Informations about the package laravel-mandrill-driver
Laravel Mandrill Driver
This package re-enables Mandrill driver functionality using the Mail facade in Laravel 6+.
To install the package in your project, you need to require the package via Composer:
To add your Mandrill secret key, add the following lines to config\services.php
and set MANDRILL_KEY
in your env:
You can also add custom Mandrill headers to each email sent, for this you need to add the headers array in the following format to config\services.php
:
all the valid options in Mandrill docs at: https://mailchimp.com/developer/transactional/docs/smtp-integration/#customize-messages-with-smtp-headers
Accessing Mandrill message ID
Mandrill message ID's for sent emails can be accessed by listening to the MessageSent
event. It can then be read either from the sent data or the X-Message-ID header.
Versions
Laravel Version | Mandrill package version |
---|---|
10 | 5.x |
9 | 4.x |
6, 7, 8 | 3.x |
Laravel 7+ Installation
Add the Mandrill mailer to your config\mail.php
:
Set the MAIL_MAILER
value in your env to mandrill
to enable it:
Laravel 6 Installation
As before, you can set the MAIL_DRIVER
value in your env to mandrill
to enable it:
Lumen Installation
Add the following line to bootstrap/app.php
All versions of laravel-mandrill-driver with dependencies
illuminate/support Version ^11.0
mailchimp/transactional Version ^1.0
symfony/mailer Version ^7.0