Wordpress website Send e-mail security settings

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/leon_zeng0/article/details/88634008

1: Install the plug-in operating panel wordpress, WP Mail SMTP, you can enter the name in the search box. Activated after installation. Plug-ins require php5.3 or later, if lower, the following functions may not be realized.

2: Click Setting in the plug-in, enter the setup interface.

In this setup, look, From Email, no real impact From Name. Mailer setting more crucial, here I choose Gmail, the following content Gmail settings interface.

There is a help file, the Read Our  Gmail documentation  to Learn How to the configure Gmail or G Suite. Click Gmail documentation to enter the plug-in help page. I am here to help a lot of content from this page. https://wpforms.com/how-to-securely-send-wordpress-emails-using-gmail-smtp/

Here are 3 columns to fill, Client ID, Client Secret, Authorized redirect URI.

Authorized redirect URI This column can not be changed, fixed, but you can copy its contents. Because gmail settings must be kept consistent.

Client ID, Client Secret of content need to get from google api application in engineering. You need to have a google account.

3: Building a web application, https://console.developers.google.com/flows/enableapi?apiid=gmail&pli=1

If you do not google account, then apply for one. After a successful login, the establishment of a project, if you have, you can choose your project.

Below enter credentials established

Now enter the credentials established, you have the choice of three options, press the map selection is good, then  What credentials do I need? Button.

There is an important content you need to fill after clicking, this is what we set above the bar of the Authorized redirect URI, where you can put the contents of the clipboard.

 

Here then pasted

My program here will be prompted to authenticate your site needs a site owner, this is a bit complicated. But can not verify that you can not send mail to complete, I'm stuck here for a long time.

4: Domain owner verification. Click Domain verification in the following figure

https://support.google.com/webmasters/answer/9008080#domain_name_verification

It describes several ways to verify,

html files are uploaded to the main directory, HTML tag (tag), DNS record.

I personally like the previous two ways, a little easier. But I always site DNS record mode. So introduced this way.

The first step is the way DNS records Add domain, is your own domain name, the domain name needs to send the message.

The first step is to add the domain name, and then ask your DNS provider, if the list is not, choose other, asking you to add a DNS, content to TXT, record values ​​analytic terms he offers.

 

My DNS is not in the list, select other, the following interface, you need to copy its contents. 

It could be as follows:

Here you need to log in and modify DNS resolution authority. Add the following in the DNS in the following:

2 at the above content copy (copy) and then paste the recorded value of the following, selected record type TXT, @ master record or empty, the default effective time, I 600.

 

 

Then, after adding back to the previous screen, Verify, you can see the success of the page.

This time you can generate a Client ID and Client secret, you can see specific point editing content.

 

Click on the map editor, you can display the Client ID and Client secret, this item copied to the settings of the WP Mail SMTP Validation, you can send mail.

The completed Contact form 7 items, send point, it displays sent successfully, you can receive mail. 

Guess you like

Origin blog.csdn.net/leon_zeng0/article/details/88634008