Effortlessly Send Email with Mandrill (Sponsor)


November 24th, 2014


Mandrill is a scalable, reliable, and secure email infrastructure service trusted by more than 300,000 customers. It’s easy to set up and integrate with existing Laravel apps. And it’s really fast, too. With servers all over the world, Mandrill can deliver your email in milliseconds.

Use Mandrill to send automated one-to-one email like password resets and welcome messages, as well as marketing emails and customized newsletters. Mandrill is quick to set up, easy to use, and ridiculously stable. We made it for developers, who love documentation, integrations, high delivery rates, webhooks, and analytics.

Getting started with Mandrill in your Laravel app couldn’t be simpler. In fact it only takes four steps:

  1. Signup and generate an API key
  2. Require Guzzle
  3. Set your API key
  4. Set your mail config

Here are the steps in detail if you’d like to get started today.

Require Guzzle in your composer.json:

1"guzzlehttp/guzzle": "~4.0"

Set your API key in app/config/services.php:

1'mandrill' => array(
2 'secret' => 'your-mandrill-key',

Finally edit your app/config/mail.php to initialize the Mandrill driver and set your from address:

1'driver' => 'mandrill',
2'from' => array('address' => 'you@you.com', 'name' => 'Acme Company'),

In those simple steps you can be up and running.


Many thanks to Mandrill via Syndicate Ads for sponsoring the site this week.

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.