Steps to Configure Gmail SMTP Server:
- Enable 2-Step Verification: Go to your Google Account settings, navigate to Security, and enable 2-Step Verification.
- Generate an App Password: In the Security section, search for "App passwords". Create a new app (e.g."SMTP Setup") to generate a 16-character password. Copy this password, as you will not see it again.
- Configure SMTP Settings: Enter the following details in your application or website:
- SMTP Server:
smtp.gmail.com - SMTP Port:
587(for TLS) or465(for SSL) - Authentication: Yes (Required)
- Username: Your full Gmail address (e.g.
you@gmail.com) - Password: The 16-character App Password generated in Step 2
- Encryption: TLS or SSL
- SMTP Server: