|Tested up to:||3.3.2|
This plugin replaces WordPress’ internal email sending functionality by routing all email through Postmark, greatly enhancing email reliability. If you rely on your WordPress install to send you email, this plugin along with the awesome service from Postmark makes sure that it actually does reach its destination.
Emails sent through Postmark will, if you’ve set up your email addresses in Postmark correctly, show up as signed in people’s inboxes:
Why use this plugin?
There are a couple of Postmark plugins, this plugin is, in the opinion of the author, the best of them all because it:
- Uses the WordPress HTTP API instead of CURL, so it even works when there’s no CURL available.
- It sends your email over a secure (SSL) connection (and actually checks whether the host on the other side is really the host we expect).
- Handles From / CC / BCC headers correctly, when set by plugins like Gravity Forms (although the from email address will always revert to those email addresses you have a valid sender signature in Postmark for).
- It handles attachments correctly.
Installation & Configuration
Configuration is easy, first, add the following to your wp-config.php:
define('POSTMARKAPP_API_KEY', '<your postmark API key>'); define('POSTMARKAPP_MAIL_FROM_ADDRESS', '<your FROM email address>'); define('POSTMARKAPP_MAIL_FROM_NAME', '<your FROM name>');
Don’t worry: the FROM name will be overwritten by the WordPress settings, but in case it doesn’t provide a FROM name, this will be used. The FROM address has to be registered with Postmark to work, and will not be overridden, see this help article for the reasoning.
After you’ve added the information above, install this plugin by uploading it to either your plugins folder or your mu-plugins folder. There is no admin interface, you can see whether email is being rerouted by going into Postmark and checking your “activity”.