Postmark Email for WordPress by Yoast
Reroute all WordPress mail through Postmark to increase email reliability.
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.
Why you should use this plugin over the official Postmark approved plugin or other Postmark plugins?
- Uses the WordPress HTTP API instead of CURL, so it even works when there's no CURL available.
- This plugin 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.
- The plugin handles attachments correctly.
More info about the plugin:
| Author | Joost de Valk Profile |
| Contributors | joostdevalk |
| Tags | email, notifications, postmark, postmarkapp, reliability, smtp, wildbit, wp_mail |
How to install this plugin?
- Search for "postmark email" in the "Add new plugin" interface.
- Install the plugin and activate it.
- Open your wp-config.php file and add your Postmark API key in the following way:
define('POSTMARKAPP_API_KEY', '<API KEY>');. (Find your API key under Your Rack -> Your Server -> Credentials). - Set your FROM address in the same way:
define('POSTMARKAPP_MAIL_FROM_ADDRESS', 'from@example.com');, make sure it's a valid Postmark Sender Signature. - You're done!
0.3.2
- Apparently I can't type so I made ANOTHER error in the
function_existscall.
0.3.1
- You can now specify several allowed from addresses, by comma separating them in the
POSTMARKAPP_MAIL_FROM_ADDRESSconstant. - If from address is not in list of allowed from addresses, the from address is changed to the first allowed email address and the set from address and name is used in the reply-to instead.
- Improved the readme.txt, adding an FAQ.
0.3
- Fixed typo in 0.2 that would still cause activation issues.
- Plugin no longer activates when API key is not set.
0.2
- Properly wrap in a
function_existscall so the plugin will activate when used as a normal plugin.
0.1
- Initial beta release.
Why would I use Postmark instead of sending email with my web server?
Because sending email with your web server is horribly unreliable. While this might not be a problem when all it emails is some comment emails, but when you start relying on emails from your WordPress install for inquiries, order forms or transaction emails, you really should make 100% sure these emails arrive. Postmark makes that part easy. You might want to read the authors posts about email reliability and sending reliable email with Postmark.
There are definitely other choices of email parties out there, so far the author has just used Postmark and loves its simplicity.
How do I specify multiple allowed from addresses?
By comma separating the from addresses in the wp-config:
define('POSTMARKAPP_MAIL_FROM_ADDRESS', 'from@example.com,secondfrom@example.com');
Can I use this plugin as a Must Use plugin too?
Yes, simply copy the contents of the plugin directory (so not the entire directory itself) into your wp-content/mu-plugins/ directory. This is the main reason why the plugin doesn't have an admin screen; it's meant as a drop-in functionality for sites.


