2017-25 © Pedro Peláez
 

wordpress-muplugin mandrill-wp-mail

wp_mail() drop-in for Mandrill

image

danielbachhuber/mandrill-wp-mail

wp_mail() drop-in for Mandrill

  • Friday, August 7, 2015
  • by danielbachhuber
  • Repository
  • 10 Watchers
  • 64 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 2 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Mandrill wp_mail Drop-In

A simple drop-in replacement for WordPress' wp_mail function., (*1)

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:, (*2)

define( 'MANDRILL_API_KEY', 'your-api-key' );, (*3)

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:, (*4)

<?php

require_once dirname( __FILE__ ) . '/mandrill-wp-mail/mandrill-wp-mail.php';

A Note About Composer

This plugin can be installed and managed using Composer; however, because of the way Composer and mu-plugins work, you'll need a bit of a workaround to make sure the plugin is loaded. For more information about how to use this drop-in with Composer, read this blog post by Richard Tape., (*5)

The Versions

07/08 2015

dev-master

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

wp_mail() drop-in for Mandrill

  Sources   Download

GPL-2.0+

The Requires

 

wordpress