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

https://github.com/roborourke/sparkpost-wp-mail

Dropin wp_mail() replacement for WordPress that uses the SparkPost API
https://github.com/roborourke/sparkpost-wp-mail

Last synced: 10 months ago
JSON representation

Dropin wp_mail() replacement for WordPress that uses the SparkPost API

Awesome Lists containing this project

README

          

# SparkPost WP Mail Dropin

Dropin wp_mail() replacement for WordPress that uses the SparkPost.com
API.

Heavily based on prior art by
[@danielbachhuber](https://github.com/danielbachhuber) for
[Mandrill](https://github.com/danielbachhuber/mandrill-wp-mail)

## 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( 'SPARKPOST_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:

```