Common SMTP Settings
- SMTP Host: smtp.gmail.com
- SMTP Port: 587 (TLS) or 465 (SSL)
- Encryption: TLS or SSL
- Username: Your full Gmail address
- Password: Your app password (requires 2FA setup)
- Note: For Gmail, you need to create an App Password. Go to your Google Account → Security → App passwords
- SMTP Host: smtp.office365.com
- SMTP Port: 587
- Encryption: TLS
- Username: Your full Outlook email address
- Password: Your Outlook password
- SMTP Host: smtp.mail.yahoo.com
- SMTP Port: 587 or 465
- Encryption: SSL
- Username: Your Yahoo email address
- Password: Your app password (requires 2FA setup)
Troubleshooting Tips
Common SMTP Issues and Solutions
- Connection refused: Check if your SMTP server is running and if the port is correct.
- Authentication failed: Verify your username and password. For Gmail, Outlook and Yahoo, you might need to use an app password.
- Timeout: The server might be down or your network connection might be unstable.
- TLS/SSL error: Make sure you're using the correct encryption type for your SMTP server.
- Relay access denied: The SMTP server doesn't allow you to send emails to the recipient. Check if you need to authenticate.
Note about Gmail and other services
If you're using Gmail, you'll need to:
- Enable 2-Step Verification in your Google Account
- Create an App Password specifically for this application
- Use that App Password instead of your regular Gmail password
Similar requirements may apply to other email providers that prioritize security.