Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
  • Swag ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

SendPier

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

SendPier

By sendpier
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

WordPress sends a lot of email: password resets, order confirmations, messages from your contact form. By default it does that with the mail function of your web server. That email often ends up in spam, or never arrives at all, and you cannot see what happened to it.

This plugin hands every email that WordPress sends (everything that goes through wp_mail(), from WordPress itself and from your other plugins) to SendPier, an email sending service. SendPier delivers it and shows you whether it arrived.

What the plugin does:

  • Sends all WordPress email through SendPier, including attachments, Cc and Bcc.
  • A setup wizard in three steps: paste your API key, choose the sender address, send a test email.
  • Email log (SendPier › Email log): the messages SendPier sent for your domain, with their delivery status, for example “Delivered” or “Rejected (bounce)”.
  • Not sent (SendPier › Not sent): messages SendPier did not accept stay on your site for seven days, with the reason and a button to send them again.
  • Tries again by itself. If SendPier cannot be reached for a moment, or your domain has reached its sending limit, the message waits and is sent again later. The plugin makes sure nobody gets the same email twice.
  • Fallback. If SendPier cannot be reached at all, WordPress can still send the email itself. You can switch this off.
  • A warning by email when sending fails several times in a row.
  • Diagnostics (SendPier › Diagnostics) and a check in Tools › Site Health, so you can see whether your domain and DNS records are set up correctly.

You need a SendPier account and an API key for your domain. You create both in the control panel at cp.sendpier.com.

External services

This plugin connects to SendPier (api.sendpier.com), an external email sending service. Without it the plugin cannot send email. Every request carries the API key of your domain, so SendPier knows which account it belongs to.

  • Sending email. Every time WordPress sends an email, the plugin sends the message to SendPier: the sender, the recipients (To, Cc and Bcc), the subject, the text and HTML content, attachments and a limited set of headers such as Reply-To.
  • Delivery status and email log. When you open SendPier › Email log, or right after a test email, the plugin asks SendPier for the list of sent messages or for the status of one message.
  • Quota and domain status. When you open the plugin’s pages in wp-admin, the plugin asks SendPier how many emails your domain has sent in this period and whether its DNS records are correct. It does this at most once every five minutes and remembers the answer in between.
  • In the background, every five minutes at most, WP-Cron sends waiting messages again and checks the status of messages whose result was unclear.

SendPier’s terms of service and privacy policy apply to this data.

Installation

  1. Install the plugin through Plugins › Add New, or upload the sendpier folder to /wp-content/plugins/.
  2. Activate the plugin. The setup wizard opens once, automatically.
  3. Step 1: paste the API key of your domain. You find it in the control panel at cp.sendpier.com › your domain › API keys. A key starts with sp_live_.
  4. Step 2: choose the sender address. It has to end in the domain of this site, for example info@yourdomain.com.
  5. Step 3: send a test email. This also switches the plugin on.

Skipped the wizard? Fill in the same fields under SendPier › Settings and tick “Send outgoing email through SendPier”. You can start the wizard again from there.

You can also keep the API key out of the database by adding it to wp-config.php:

define( 'SENDPIER_API_KEY', 'sp_live_...' );

FAQ

Does this work with my contact form or webshop plugin?

Yes. The plugin takes over wp_mail(), the function WordPress and almost every plugin use to send email. Contact Form 7, WooCommerce and Gravity Forms all send through it.

What happens when SendPier is down?

The message waits and is tried again after 1, 5 and 15 minutes. If your domain has reached its sending limit, the plugin waits until there is room again. If SendPier still cannot be reached and fallback is on, WordPress sends the email itself. Messages that were not sent are listed under SendPier › Not sent.

Which languages does the plugin speak?

The plugin follows the language of your WordPress site. It ships in Dutch and English. To add a language, start from languages/sendpier.pot and put the resulting .mo file in wp-content/languages/plugins/, so it survives plugin updates.

Does it work on multisite?

Yes, with or without network activation. Every site has its own API key, sender address and email log; a key belongs to one domain and is never shown to the admin of another site. Network activation sets up every site, including sites you add later. A key defined in wp-config.php only applies to sites on the domain of the main site.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SendPier” is open source software. The following people have contributed to this plugin.

Contributors
  • sendpier

Translate “SendPier” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

The full history is in CHANGELOG.md in the plugin folder (in Dutch) and in the control panel at https://cp.sendpier.com/changelog.

0.13.6

  • Changed: updates now come from WordPress.org, like your other plugins. You do not have to do anything: your settings, API key and email log stay as they are.

0.13.5

  • Changed: a small technical change to the list under SendPier › Not sent, for the WordPress.org review. Nothing changes in what you see or in how the plugin sends email.

0.13.4

  • Changed: the plugin now meets the requirements of the WordPress.org plugin directory. Nothing changes in how it sends email or in wp-admin.

0.13.3

  • Changed: the help text about new attempts now says that the plugin waits for room when your domain hits its sending limit.
  • Fixed: for a recipient that SendPier refuses, for example an address that bounced before, the plugin no longer looks up a delivery status later.

Meta

  • Version 0.13.6
  • Last updated 40 minutes ago
  • Active installations Fewer than 10
  • WordPress version 6.0 or higher
  • Tested up to 7.1.5
  • PHP version 8.0 or higher
  • Tags
    deliverabilityemailsmtptransactional emailwp_mail
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • sendpier

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry