Skip to content

Instantly share code, notes, and snippets.

@sarathlal-old
Last active April 4, 2019 05:26
Show Gist options
  • Save sarathlal-old/c339bb6876f7ffb3c4b62803f8a1b481 to your computer and use it in GitHub Desktop.
Save sarathlal-old/c339bb6876f7ffb3c4b62803f8a1b481 to your computer and use it in GitHub Desktop.
Configure Gmail account & SMTP plugin to send SMTP emails from WordPress
1. Install SMTP Plugins
https://wordpress.org/plugins/search/SMTP/
2. Configure Plugins
* Outgoing Mail (SMTP) Server: smtp.gmail.com
* Use Authentication: Yes
* Use Secure Connection: Yes (TLS or SSL)
* Username: your Gmail account (e.g. [email protected])
* Password: your Gmail password
* Port: 465 (SSL required) or 587 (TLS required)
3. Allow Gmail to send SMTP Email
In default, Google block less secure apps on sending SMTP emails. So we need to enable that configuration in Gmail settings.
Go to below link & allow access.
https://myaccount.google.com/lesssecureapps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment