How to send emails in WordPress using SMTP?

How to send emails in WordPress using SMTP?

Posted under Developer , Email Delivery on May 8, 2018

WordPress is one of the most popular open source Content Management System (CMS). Every fourth website created is on WordPress. No surprises there. It’s free to download, easy to use (reducing your dependability on a coder), SEO optimized and comes with 31000+ plugins should you want to add additional functionalities.

Configure WordPress to send emails

WordPress is no longer just a blog publishing platform and is widely used by many to run their business website.

One of the important functionality that one looks for when using WordPress for business or blogging is the ability to send emails.

When you set up your WordPress site, you’ll also want to include email sending functionality so you can automatically send emails and seamlessly stay in touch with your website/ blog visitors. Be it sending a thank you message when a user subscribes, confirmation email upon signup, order confirmation email when someone purchases a product, sharing the forgotten password over mail, weekly newsletters and lots more.

There are tools like MailPoet, Email Subscribers & Newsletters, WooCommerce etc that can help you with your emails. Most of these tools use the default SMTP (Simple Mail Transfer Protocol, a communication protocol to transfer emails over the internet of your server) to send emails.

But it might not be a good idea to use the default SMTP.

Did you know that sometimes emails sent from your WordPress site might not be reaching your customers’ inbox? Emails do not get delivered to the recipient because of the following reasons –

  • The email has been sent but it went into the spam/junk folder on the recipient’s side
  • The email wasn’t sent because of the server or port or firewall restrictions
  • The email got lost somewhere on the server

Why choose Pepipost for sending your emails from WP Plugin

Once you’ve selected the right plugin, the next step is to choose a good ESP (Email Service Provider) who can actually ensure that you are not caught in any of the email delivery problems mentioned above. This is where Pepipost can help. Pepipost is one of the leading global ESPs that offers best inbox rates and swift delivery. On a unique mission of building the largest community of good email senders, we offer the cleanest of email networks so your emails are never compromised.

Here are a couple of benefits of using Pepipost SMTP as compared to in-house/other SMTP relay services:

1. 24X7 developer support: We believe in Support with conversations, not tickets! Our developer evangelists work round the clock to help you with integration and resolve your queries in real-time.

2. The only ESP to give Cashback on emails opened: When you send emails using Pepipost, you earn cashback for all emails that are opened by your customers, which is discounted in next month’s bill.

3. AI powered email delivery: We use AI and machine learning to better guide you with dynamic warmup process and give you best inbox rates.

4. Speed with transparency: We give you the best delivery paths and make sure that your emails meet Mr. Inbox in a flash. All this in an absolutely transparent manner by sharing Live Status of exactly when and how we deliver your emails.

Best WP Plugins to send emails

To get the best returns from your email program, it’s important to choose a good and easy-to-integrate WP plugin which gives you the flexibility to route your emails through an ESP instead of the local server.  Below is the list of some of the recommended WP SMTP plugins:

1. WP MAIL SMTP

2. WP EASY SMTP

In the coming section, I’ll explain how you can integrate Pepipost with these WP SMTP plugins to send emails.

How to integrate Pepipost and WP MAIL SMTP?

Sending emails through Pepipost using your WP Mail SMTP is quite simple. Here is the step-by-step guide:

Step 1: Login to your WordPress and install WP Mail SMTP plugin: https://wordpress.org/plugins/wp-mail-smtp/

Step 2: Once installed, activate the plugin and click on the Settings link on your plugins page.

Step 3: Enter the following details:

  • From Email: The from/ sender email address from where the email will be sent, example info@example.com. Note: the domain example.com needs to be pre-verified and approved by Pepipost. Login to you Pepipost account to add and verify your sender domain.
  • From Name: ‘From name’ is the first piece of information your subscriber sees in the inbox. Examples include Customer Care, Support Team, etc. This name helps identify the source of email and so it’s wise to choose this name carefully to get the best open rates.
  • Mailer: Select “Other SMTP”  to use Pepipost SMTP to send emails

  • Return Path: This is optional
  • Under Other SMTP Options, enter the following details:
    • SMTP Host: Enter “smtp.pepipost.com”
    • SMTP Port: Port can be 25, 587 or 2525. Many a time the hosting providers blocks these ports for outgoing email. Hence, if none of these ports are working, then you need to contact your web hosting provider to unblock these ports for sending outgoing emails.
    • Encryption: Default is “None”. Choose the SSL option. TLS is not the same as STARTTLS. For most servers, SSL is the recommended option.
    • Auto TLS: Keep it ON.
    • Authentication:
      • Username: Your Pepipost SMTP username.
      • Password: Your Pepipost SMTP password.
    • Once all the settings are done, click on “Save Settings“.

Now, the setup is ready to send your first test email.

How to get Pepipost SMTP username and Password?

Following are the steps to get your Pepipost SMTP credentials:

1. Sign up with Pepipost and activate your account by clicking on the confirmation link sent on the email.

2. Login to your Pepipost account with your username and password.

3. Go to Domain Management > Click on Add+ to add your domain. The domains that you would use to send emails need to be added to Pepipost.

4. Once your sender domain configuration is done, your account is completely ready for sending the emails.

5. To get your SMTP and API credentials, go to Settings> Integrations. Get the SMTP username and password from the respective boxes. Note: By default, the SMTP username and password is same as your Pepipost account username and password.

Pepipost SMTP

How to integrate Pepipost and WP Easy SMTP?

Sending emails through Pepipost using your WP Easy SMTP is quick and easy. Simply follow this step-by-step guide:

Step 1: Login to your WordPress and install WP Easy SMTP plugin. Here is the URL wherein you can find the plugin: https://wordpress.org/plugins/wp-easy-smtp/

Step 2: Once installed, activate the plugin and click on the Settings link on your plugins page.

Step 3: Enter the following details:

  • From Email: The from/sender email address from which the email will go e.g. info@example.com.
    Note: In this case, the example.com need to be authenticated and approved on Pepipost. Login to you Pepipost account to add and verify your sender domain.
  • From Name: Name that emails should be sent from. e.g. Customer Care, Support Team, etc Mailer: Select “Use Pepipost SMTP to send emails”
  • ReplyTo: This is optional. This email address will be used in the ‘Reply-To’ field of the email. Leave it blank to use ‘From Email’ as the reply-to value.

Step 4: Choose the MAILER as “Pepipost”

send email from WP Easy SMTP using Pepipost

Step 5: Login to your Pepipost account and go to Settings –> Integration to get the SMTP credentials. In case you don’t have a Pepipost account, then create one and add your sender domain.

Step 6: Enter the Pepipost SMTP credentials which you got from the Integrations page into your Plugins Settings page.

  • SMTP PORT: Default port which you can use is 25. Alternatively, you can use 587 or 2525 also. 587 is the recommended one. Learn more about how to choose the right SMTP port here.
  • Encryption: Choose the SSL option. Please note that TLS is not the same as STARTTLS. For most servers, SSL is the recommended option.
  • Username: Your Pepipost Username
  • Password: Your Pepipost SMTP password (By default, the SMTP username and password is same as your Pepipost account username and password unless you have changed the same on the Integration page)

Select port 587 or port 2525 in WP Easy SMTP

Many times developers experience SMTP port block issue while connecting through SMTP for sending emails. In such cases, API based plugin will be of real help. Pepipost has its own API plugin so you don’t have to worry about SMTP Port issues. Simply install the Pepipost Official API Plugin (https://wordpress.org/plugins/pepipost/) and configure the API key and sender domain to get started sending emails.

Found this blog useful? Please rate us
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading...

img

Dibya Prakash Sahoo|The Business Guy

Leave a Reply

avatar
  Subscribe  
Notify of

By February 11, 2016

Gmail’s Red Lock : 3 Things You Need to Know About Gmail’s Padlock alert

The next time you log into Gmail you may notice a small red padlock next…

Read More

By January 30, 2017

How to stop spam signups?

With online businesses choosing seamless registration experience over security, the problem of spam signups has…

Read More

By May 8, 2018

How to send emails in WordPress using SMTP?

WordPress is one of the most popular open source Content Management System (CMS). Every fourth…

Read More