Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danielbachhuber/mandrill-wp-mail

WordPress wp_mail() drop-in for Mandrill
https://github.com/danielbachhuber/mandrill-wp-mail

Last synced: 7 days ago
JSON representation

WordPress wp_mail() drop-in for Mandrill

Awesome Lists containing this project

README

        

# Mandrill wp_mail Drop-In

A simple drop-in replacement for WordPress' wp_mail function.

## 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:

```