🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

WordPress Website Not Receiving Inquiry Emails? Post SMTP Plugin Setup Tutorial

UseWordPress Website BuildingAfter using WordPress to build a website, if the site cannot receive emails, especially for foreign trade websites, failing to receive inquiry email notifications means having to check the website backend every time, or not receiving user messages. This significantly impacts website conversion. This problem occurs because WordPress's email sending system is not functioning properly.

Principle Analysis

Why doesn't WordPress receive emails?This starts with WordPress's email sending process.

WordPress itself cannot send emails; it requires the server to have a mail system.

For typical shared hosting, such asSiteGroundGreenGeeksHostingerThis type of shared hosting usually has a mail system installed on the server by default (you can think of it as a program), and WordPress's default email sending function calls the system's built-in mail system.

When we use a VPS to build a website, the web environment we install (for example,Baota Panel) does not have a mail system installed by default. Therefore, we need to rely on an external email service to send emails, typically using SMTP.

Can I install a mail system on my own server?

The answer is yes, but this method is not recommended.

Due to spam issues, many server providers block email ports by default, and you need to apply separately to open them; most importantly, a self-built mail system is unstable, and sent emails are easily intercepted.

Using SMTP for email delivery has a higher accuracy rate than the server's built-in mail system.

Solution

To enable WordPress to send emails normally, we just need to configure an SMTP sending plugin. Previously, in the article „Recommended WordPress SMTP Email Plugins I Have Used", several were introduced. This article will provide aPost SMTP Plugin Setup Tutorial

Post SMTP Plugin Setup Tutorial

First, we can install the plugin by searching for Post SMTP in the WordPress Admin Dashboard.

post smtp

Many WordPress Theme demos may come with the WPForms inquiry/contact form plugin, and the recommended SMTP plugin is WP Mail SMTP by WPForms. However, to view sending logs with this plugin, you need to pay, whereas Post SMTP allows you to view sending logs for free. This is a very useful feature, so it is recommended to prioritize using Post SMTP.

After installation and activation, you can find the Post SMTP settings entry in the left-hand menu bar.

Click the 'Start the Wizard' button to begin account setup.

post smtp插件设置向导

Then, enter the email account you want to use to send emails.

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

If you have a B2C website, since it involves the website sending emails to customers, using a corporate email gives a better impression, but you need to enable the SMTP function in your corporate email first.

Here, we will configure using a Gmail account.

post smtp插件配置

Fill in the SMTP server address.

Since we entered a Gmail account, Google's SMTP address was automatically recognized. If using another email service, ensure the address here is correct.

WordPress通过post smtp发送邮件教程

Select the email sending method, then click Next.

For Gmail, it is recommended to use port 587 and OAuth 2.0 for authentication.

WordPress通过post smtp发送邮件教程

Go to Google to create authentication credentials.

Click the button below to go to the Google API Console to create credentials.

Google API Console

Google has been updated, and the interface differs from the tutorial below. Find the location shown in the image below to create it. If you really can't figure it out, contact Naiba for help.

Image

The first visit requires agreeing to the Terms of Service.

WordPress通过post smtp发送邮件教程

Navigate to the Credentials page.

WordPress通过post smtp发送邮件教程

Select Gmail API, User Data, then click Next.

WordPress通过post smtp发送邮件教程

Fill in the application information.

Enter any name for the application, and use your own Gmail address for the email address.

WordPress通过post smtp发送邮件教程

Configure OAuth information.

Here you need to fill in two URLs. Simply copy the two URLs provided by the Post SMTP Plugin, then click Create.

WordPress通过post smtp发送邮件教程

Creation completed.

WordPress通过post smtp发送邮件教程

Click to modify the OAuth 2.0 client.

WordPress通过post smtp发送邮件教程

Copy the Client ID and Client Secret, and fill them into the Post SMTP Plugin settings.

WordPress通过post smtp发送邮件教程

After filling them in, simply proceed to the next steps in Post SMTP until the setup is complete.

WordPress通过post smtp发送邮件教程

Publish the application.

WordPress通过post smtp发送邮件教程

Then, on the Post SMTP Plugin page, click 'Grant permission with Google' to authorize.

WordPress通过post smtp发送邮件教程

You can directly ignore the security prompt and continue.

WordPress通过post smtp发送邮件教程

Check the permissions, then continue.

WordPress通过post smtp发送邮件教程

At this point, the entire configuration is complete. You can click 'Send a test email' on the Post SMTP interface to send a test email.

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

If everything is normal, our WordPress SMTP email sending setup is complete. If you don't receive emails, first check the email logs in the Post SMTP Plugin to see if it was sent. If sent successfully, it likely went to the spam folder. If sending failed, analyze the issue based on the logs, check, reconfigure, and test again.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: