1. Install the WP Mail SMTP plugin.
Log in to the WordPress backend and click Install Plugin. Enter mail smtp, find the WP Mail SMTP plugin and install it. If your WordPress cannot install plugins online, you can manually download the plugin from the WordPress official website and unzip it to the WordPress directory /wp-content/plugins/ folder.
2. Enable the plugin and set it up.
After installing and enabling the WP Mail SMTP plug-in, go to the plug-in list and click "Settings" under the WP Mail SMTP plug-in to make settings.
From Email: Fill in the sending address;
From Name: Enter the sender’s name;
Mailer: Select the first option “Send all WordPress emails via STMP.”
In the SMTP Options setting column, enter the SMTP server configuration information. Here we take QQ mailbox as an example.
SMTP Host: Fill in the SMTP server address. QQ mailbox is smtp.qq.com; Google mailbox is smtp.gmail.com; Hotmail mailbox is smtp.live.com; 126 mailbox is smtp.126.com.
SMTP Port: Fill in the port. The default port here is 25. QQ mailbox and 126 mailbox are 25; Google mailbox is 587.
Encryption: Select the encryption method. No encryption is the default. For Hotmail mailbox encryption, select TLS.
Authentication: Select “Yes: Use SMTP authentication”.
Finally, enter your username and password and click “Save Changes”.
3. Setting is successful, test results.
Fill in the email address in the "Send a Test Email" column and test the result. A prompt will appear:
Test Message Sent
The result was:
bool(true)
It means the setup is successful. Open the email address you entered for the test and check whether the test email is successful.
Log in to the WordPress backend and click Install Plugin. Enter mail smtp, find the WP Mail SMTP plugin and install it. If your WordPress cannot install plugins online, you can manually download the plugin from the WordPress official website and unzip it to the WordPress directory /wp-content/plugins/ folder.
2. Enable the plugin and set it up.
After installing and enabling the WP Mail SMTP plug-in, go to the plug-in list and click "Settings" under the WP Mail SMTP plug-in to make settings.
From Email: Fill in the sending address;
From Name: Enter the sender’s name;
Mailer: Select the first option “Send all WordPress emails via STMP.”
In the SMTP Options setting column, enter the SMTP server configuration information. Here we take QQ mailbox as an example.
SMTP Host: Fill in the SMTP server address. QQ mailbox is smtp.qq.com; Google mailbox is smtp.gmail.com; Hotmail mailbox is smtp.live.com; 126 mailbox is smtp.126.com.
SMTP Port: Fill in the port. The default port here is 25. QQ mailbox and 126 mailbox are 25; Google mailbox is 587.
Encryption: Select the encryption method. No encryption is the default. For Hotmail mailbox encryption, select TLS.
Authentication: Select “Yes: Use SMTP authentication”.
Finally, enter your username and password and click “Save Changes”.
3. Setting is successful, test results.
Fill in the email address in the "Send a Test Email" column and test the result. A prompt will appear:
Test Message Sent
The result was:
bool(true)
It means the setup is successful. Open the email address you entered for the test and check whether the test email is successful.