Coder Social home page Coder Social logo

therealmarknelson / wpmandrill Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wp-plugins/wpmandrill

0.0 1.0 0.0 1.08 MB

WordPress.org Plugin Mirror

Home Page: http://www.pluginmirror.com/plugins/wpmandrill/

CSS 0.56% PHP 52.29% JavaScript 47.15%

wpmandrill's Introduction

=== wpMandrill ===

Contributors: MC_Will, Mark Nelson Tags: mandrill, mailchimp, transactional email, email, email reliability, smtp, wp_mail, email templates Requires at least: 3.0 Tested up to: 4.3 Stable tag: trunk License: GPLv2

The wpMandrill plugin sends emails that are generated by WordPress through Mandrill, a transactional email service powered by MailChimp.

== Description ==

THIS IS A FORKED VERSION OF THE wpMANDRILL plugin by MC_Will This fork was created to continue development on the plugin to include features I needed that do not exist in the current version. This version was forked from the stable trunk release 1.33.

This plugin uses Mandrill API to send outgoing emails, with or without attachments, from your Wordpress installation. It replaces the wp_mail function included with WordPress.

Emails are tracked and automatically tagged for statistics within the Mandrill Dashboard. You can also add general tags to every email sent, as well as particular tags based on selected emails defined by your requirements.

You can also use your own templates that have been added to your MailChimp account and shared with your Mandrill account.

There are a few levels of integrations between your WordPress installation and this plugin:

  1. The simplest option: Install it, configure it, and wpMandrill will start sending your emails through Mandrill.
  2. If you need to fine tune certain emails, you can change any email by creating a filter for the mandrill_payload hook.
  3. For further customization, we've exposed a function that allows you to send emails from within your plugins, instead of the regular wp_mail function: wpMandrill::mail

This plugin is currently released as beta for early adopter evaluation and finalizing of the initial feature set.

Spanish translation available.

== Installation ==

  1. Upload wpMandrill to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Configure plugin in Settings > Mandrill

== Frequently Asked Questions ==

= Why do I need a Mandrill API key? =

In order to use this plugin, you have to provide one of your Mandrill API keys. That's currently the only way we can get access to your Mandrill account.

= Do I need a MailChimp account? =

Nop.

= Are all emails routed through Mandrill? =

Yes. We try to send every single email sent through your WordPress installation. We also try to process your headers and attachments.

If the sending fails for any reason, the plugin will try to send it again using the WordPress wp_mail function.

= What if I need to send some of my emails using the native wp_mail() function?

Use the mandrill_payload filter and add a new parameter called 'force_native' to the $message variable, and set it to true:

$message['force_native'] = true;

= My emails are broken and show weird CSS code =

In version 1.09, we added a setting that allows you to tell the plugin if you want to replace your line feeds by
. Try playing with that switch.

If it works for certain emails but doesn't work for others, you might want to modify this setting using the mandrill_nl2br filter. For example, if you don't want to use this filter for the "forgot password" emails, add something like this to your theme's functions.php file:

function my_function($nl2br, $message) { if ( in_array('wp_retrieve_password', $message['tags']['automatic']) ) { $nl2br = false; } return $nl2br; } add_filter('mandrill_nl2br', 'my_function');

= Is there any way to check what's going on? =

If we couldn't send your email through Mandrill, we'll try to leave the Mandrill response in your server's log so that's your first stop.

Additionaly, if you set the WP_DEBUG constant (defined in your wp-config.php file) to true, you'll see some messages added by the plugin in key parts of the process.

= I am getting an Invalid API Key message and I'm sure my API is valid!

Please verify the following:

  1. That your API key is active (this can be viewed on the SMTP & API Credentials page in your Mandrill account);
  2. That your web server has either cURL installed or is able to use fsock*() functions (if you don't know what this means, you may want to check with your hosting provider for more details);
  3. That the domain name you're using above is listed in the Sending Domains for your Mandrill account.

== Request ==

If you find that a part of this plugin isn't working, please don't simply click the Wordpress "It's broken" button. Let us know what's broken in its support forum so we can make it better. Our mind-reading device still needs some tweaking.

== Localizations == wpMandrill is currently localized in the following languages:

  • Spanish (es_ES)

== Known Issues ==

  • Daily statistics will show data for the first 20 senders (emails) registered.
  • Daily statistics will show data for the first 40 tags registered.

If your account has more than 20 senders registered or more than 40 tags used, the detailed daily statisticas might show incompleted data.

== Screenshots ==

  1. Settings screen
  2. Statistics
  3. Dashboard widget
  4. Dashboard widget Settings

== Changelog == = 1.00 =

  • ADDED: Support for multiple CC to types
  • ADDED: Support for multiple BCC to types
  • Forked wpMandrill at stable version 1.33

wpmandrill's People

Contributors

therealmarknelson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.