• Skip to main content
  • Skip to primary sidebar

WordPress HowTo

WPHowto is the place to download free WordPress plugins and free WordPress themes. WPHowto focuses on free how-to tutorials for WordPress, popular WordPress plugin/theme reviews, best cheap WordPress hosting reviews and tutorials on WooCommerce.

  • Home
  • Plugins
    • Themes
  • Hosting
  • Contact
    • Privacy Policy
  • About

How to Integrate SparkPost into WordPress to Send Email via SMTP

Are you having trouble sending email from your WordPress site? Are you using a free SMTP provider like Gmail, Outlook or Yahoo to send your email instead? Emails are still not getting delivered for some mysterious reasons? SparkPost might be the solution to this email issue. In this article I’m going to show you how you can integrate it into WordPress to send email via SMTP.

What is SparkPost?

SparkPost is a professional email delivery service that allows you to send email for free. You can do lots of stuff with it such as track email performance (analytics), Customize the email template, Customize email functionality via REST API etc.

SparkPost offers a SMTP relay option as well. This is what you need to send email from an external source easily (e.g. Your WordPress site). But first we need to install my SMTP Mailer plugin.

Once you have the plugin installed, login to your SparkPost account and navigate to the SMTP relay settings (ACCOUNT > SMTP RELAY).

This is all the information that you need to send email from your website. The SMTP password is your SparkPost account API Key. It’s a long key that is only shown once when it’s created. So you will need to save it somewhere safe for later use.

screenshot showing SMTP relay specif information in SparkPost dashboard

If you have somehow misplaced this key, you can create a new one at any time. It’s up to you which permissions you want to allow for this key. For SMTP purpose you at least need to have the Send via SMTP permission enabled.

screenshot showing how to create a new API key in SparkPost

For security reasons It’s better to allow as less permission as possible.

Once you have the API Key, simply copy and paste the SMTP data into the plugin settings.

screenshot showing how to configure SparkPost SMTP credentials in the SMTP Mailer plugin settings

Your From Email address needs to contain the domain that’s sending the email. In order to send email via SparkPost, you will need to have this domain added/verified in your account (ACCOUNT > SENDING DOMAINS).

For testing purpose you can simply use their sandbox domain sparkpostbox.com. It allows up to 50 emails.

Here is a demo of the test email that I sent using this plugin.

screenshot showing a test email sent via SparkPost

Disclosure: This page may contain affiliate links. If you follow one of those affiliate links and purchase something it will provide me with a little bit of a commission. This costs you nothing extra but helps maintain my site, free plugins, and themes. So I thank you for your support.

Share this:

  • Twitter
  • Facebook
  • Pinterest

Related

Written by Noor Alam · Categorized: wordpress

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Search WP HowTo

Recent Posts

  • How To Disable Sticky Header in a Genesis Child Theme
  • How to Center a Tweet in WordPress
  • How to Add a Free SSL Certificate to Your WordPress Site
  • 34 Best Black Friday & Cyber Monday Discounts for WordPress (2019)
  • Introducing to WordPress Login & Admin Area on Bluehost

Top Posts & Pages

  • WordPress PayPal Plugin
    WordPress PayPal Plugin
  • Gmail SMTP Plugin for WordPress
    Gmail SMTP Plugin for WordPress
  • How to Embed a Video in WordPress
    How to Embed a Video in WordPress
  • Videojs HTML5 Player For WordPress
    Videojs HTML5 Player For WordPress
  • SMTP Mailer Plugin For WordPress
    SMTP Mailer Plugin For WordPress
  • How to Remove/Hide Image From WooCommerce Product Page
    How to Remove/Hide Image From WooCommerce Product Page
  • 6 Free WordPress PayPal Subscription Plugins for Accepting Recurring Payments
    6 Free WordPress PayPal Subscription Plugins for Accepting Recurring Payments
  • How to Add Email Subscriptions Option to Your WordPress Blog
    How to Add Email Subscriptions Option to Your WordPress Blog
  • How to Create a PayPal Subscription Button in WordPress
    How to Create a PayPal Subscription Button in WordPress
  • Best Cheap WordPress Hosting (2020)
    Best Cheap WordPress Hosting (2020)

Copyright © 2021 · WordPress HowTo

This website uses cookies to improve your experience. By continuing, you agree to their use.Got it! Learn More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.