WordPress Sending Mail by Post smtp Tutorial

WordPress website inquiry can not receive email? Post SMTP Plug in Setup Tutorial

use WordPress website establishment After that, the website could not receive email, especially the foreign trade website. If the website could not receive an inquiry email reminder, it would still need to go to the website backstage every time, or could not receive user messages, which would greatly affect the transformation of the website. This problem was caused by the abnormal work of the WordPress sending system.

Principle analysis

Why can't WordPress receive email? It starts with the sending process of WordPress.

WordPress itself has no way to send mail. It requires the server to have an email system.

Like general virtual hosts, such as SiteGround GreenGeeks Hostinger This kind of virtual host has an email system installed on the server by default (you can understand it as a program), and WordPress's default email sending function is to call the system's own sending system.

If we use VPS to build a website, the website environment we install (for example Pagoda panel )The mail system is not installed by default. So at this time, we need to use external mailboxes to send mail, usually in the form of SMTP.

Can I install a mail system on my own server?

The answer is yes, but this is not recommended.

Because of spam, many server vendors have closed their email ports by default, so you need to apply for opening them separately; The most important thing is that the self built email system is unstable, and outgoing emails are easy to be intercepted.

The delivery accuracy rate of SMTP is higher than that of the mail system provided by the server.

resolvent

To solve the problem of WordPress sending emails normally, we only need to configure an SMTP sending plug-in“ Recommended WordPress SMTP mail plug-ins I have used ”Several items have been introduced in one article, and this article will give you a look Post SMTP Plug in Setup Tutorial

Post SMTP Plug in Setup Tutorial

First, we can install plug-ins by searching Post SMTP in the background of WordPress.

 post smtp

Many WordPress theme demos may come with the WPForms inquiry message plug-in. The supporting SMTP plug-in recommends WP Mail SMTP by WPForms. This plug-in requires a fee if you want to view the sending record, but Post SMTP can view the sending record for free. This is a very useful function, so we recommend that you give priority to Post SMTP.

Activate after installation, and then you can find the Post SMTP setting entry in the menu bar on the left.

Click the Start the Wizard button to start account setting.

 Post smtp Plug in Setup Wizard

Then enter the email account you need to use to send emails.

If you are a B2B website, it is recommended to use Gmail directly for higher stability.

If you are a B2C website, it will also involve the website sending emails to guests. It is better to send emails by using the corporate email, but you need to go to your corporate email first to enable the SMTP function.

We use Gmail mailbox to configure.

 Post smtp plug-in configuration

Fill in the SMTP server address.

Because we filled in the Gmail address, we automatically identified Google's SMTP address. If we use other mailboxes, we should make sure that the address is correct.

 WordPress Sending Mail by Post smtp Tutorial

Select the mail sending method, and then click Next.

For Gmail, port 587 and OAuth 2.0 are recommended.

 WordPress Sending Mail by Post smtp Tutorial

Go to Google to create authentication credentials.

Click the button below to go to the Google API Control Center to create credentials.

Google API Console

The first visit requires agreement to the terms of service.

 WordPress Sending Mail by Post smtp Tutorial

Go to the Credentials page.

 WordPress Sending Mail by Post smtp Tutorial

Select Gmail API, User Data, and then Next.

 WordPress Sending Mail by Post smtp Tutorial

Fill in the application information.

Write your name and email address in your own gmail.

 WordPress Sending Mail by Post smtp Tutorial

Configure OAuth information.

You need to fill in two URLs here. Copy the two URLs given by the Post SMTP plug-in. Then click Create.

 WordPress Sending Mail by Post smtp Tutorial

Creation completed.

 WordPress Sending Mail by Post smtp Tutorial

Click Modify OAuth 2.0 Client.

 WordPress Sending Mail by Post smtp Tutorial

Copy the client ID and client key and fill them in the Post SMTP plug-in settings.

 WordPress Sending Mail by Post smtp Tutorial

After filling in, the post SMTP will go directly to the next step.

 WordPress Sending Mail by Post smtp Tutorial

Publish apps.

 WordPress Sending Mail by Post smtp Tutorial

Then click Grant permission with Google authorization on the post SMTP plug-in page.

 WordPress Sending Mail by Post smtp Tutorial

Just ignore the safety tips and continue.

 WordPress Sending Mail by Post smtp Tutorial

Check Permissions before continuing.

 WordPress Sending Mail by Post smtp Tutorial

At this point, the entire configuration is set. You can click send a test email on the Post SMTP interface to send an email for testing.

If the email can be received, send a test inquiry to see if it can be received.

If everything is normal, we have set up the WordPress SMTP to send an email. If we cannot receive an email, first check the email record of the post smtp plug-in to see whether it is sent. If it is sent successfully, it is estimated that it has entered the trash. If it fails to send, we will analyze what is wrong according to the log. After checking, we can reset and test it.

4.7/5 - (6 votes)
Scroll to top