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
- Host: GitHub
- URL: https://github.com/roborourke/sparkpost-wp-mail
- Owner: roborourke
- License: gpl-3.0
- Created: 2016-03-14T14:55:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T08:37:50.000Z (about 8 years ago)
- Last Synced: 2025-08-23T19:49:32.780Z (10 months ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
```