Gmail SMTP Settings

Use an App Password if you have 2FA enabled.

Secure Connection (SSL/TLS)Enable if using port 465. For port 587 (STARTTLS), this can usually remain off.