How to setup SMTP for email via GMAIL
Google’s GMAIL is vastly used email exchanges. If we want to configure gmail as sending emails via SMTP, Please use the following settings.
SMTP Server/Host: smtp.gmail.com
SMTP Port: 587
SMTP User Name: your_gmail_email
SMTP Password: Your_gmail_password or app_specific_password
Refer to this article for more information about creating app specific password.