How to send emails using SMTP in WordPress

jtti

Premium Member
Premium
Registered
Joined
Mar 5, 2024
Messages
23
Points
1
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.
 
Older Threads
Newer Threads
Replies
0
Views
186
Replies
0
Views
131
Replies
1
Views
126
Replies
0
Views
33
ASQ
Latest Threads
Replies
0
Views
54
Replies
0
Views
68
Replies
0
Views
71
Replies
2
Views
73
Recommended Threads
Replies
0
Views
2,093
Replies
4
Views
3,488
Replies
5
Views
3,331
Replies
6
Views
3,642
Replies
8
Views
5,385

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top