PHPackages                             danielbachhuber/mandrill-wp-mail - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. danielbachhuber/mandrill-wp-mail

ActiveWordpress-muplugin[Mail &amp; Notifications](/categories/mail)

danielbachhuber/mandrill-wp-mail
================================

wp\_mail() drop-in for Mandrill

646066[2 issues](https://github.com/danielbachhuber/mandrill-wp-mail/issues)PHP

Since Aug 7Pushed 10y ago9 watchersCompare

[ Source](https://github.com/danielbachhuber/mandrill-wp-mail)[ Packagist](https://packagist.org/packages/danielbachhuber/mandrill-wp-mail)[ RSS](/packages/danielbachhuber-mandrill-wp-mail/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mandrill wp\_mail Drop-In
=========================

[](#mandrill-wp_mail-drop-in)

A simple drop-in replacement for WordPress' wp\_mail function.

How to Use
----------

[](#how-to-use)

To implement this drop-in, add it to your `mu-plugins` directory. In order for it to work, you must define your Mandrill API key. The easiest way to do this is to add it to your `wp-config.php` file like so:

`define( 'MANDRILL_API_KEY', 'your-api-key' );`

If you've cloned this repo into your mu-plugins directory as the full folder (e.g. `wp-content/mu-plugins/mandrill-wp-mail`, you'll need to make sure you load the plugin files:

```
