Sometime we found difficulty send email from wordpress. In this article we will send email from wordpress using WP Mail SMTP plugin and google SMTP settings.
Setting Up WP Mail SMTP plugin
First install WP Mail SMTP plugin by search.
Next click on setting option in plugin
Next Click on “Go back to the Dashboard” option.
Now Choose “Other SMTP”
Next add
“smtp.gmail.com” in SMTP Host
“TLS” in Encryption
“ON” Authentication
“Add Your Gmail address” in SMTP Username
“Google app password” in SMTP Password
Below is process of generate google app password
How to generate gmail app password
Login into your gmail account
Go to link
https://myaccount.google.com/security?pli=1
Click on 2-Step Verification
Next click on “Get started” button
Next Enter Phone and Click on “NEXT” button
Enter Otp and Click “TURN ON” button
Next click below link
https://myaccount.google.com/apppasswords
Next Copy password and paste in in SMTP Password field
You can test email to in tools options
Check our blog to send email from widget section using html form.