Troubleshooting SMTP Issues
Basic Configuration for SMTP Server
Problem
Description: User was unable to configure the SMTP e-mail server.
Solution
- Check the SMTP server settings.
- SMTP server address—Check the host name or network address of the SMTP e-mail server. Typical SMTP server addresses or host names are as follows:
- smtp.bylancer.com
- smtp.gmail.com
- smtp.mail.yahoo.com
- AWS
- TLS—Check whether Transport Layer Security (TLS) option is enabled. This setting ensures that the information is transmitted over an encrypted channel. Not all SMTP servers support encryption. If TLS option is enabled for an SMTP server that does not support TLS, then disable the TLS option.
- Port—Check with your e-mail service provider for the port number that the SMTP server listens to. Generally, port number 587 is used for a TLS connection and port number 25 is used for unencrypted connections.
Typical SMTP server settings are as follows:
- smtp.bylancer.com—Set TLS to No and port number to 25
- smtp.gmail.com—Set TLS to Yes and port number to 587
- smtp.mail.yahoo.com—Set TLS to Yes and port number to 465 or 587
- SMTP server address—Check the host name or network address of the SMTP e-mail server. Typical SMTP server addresses or host names are as follows:
- Check the SMTP authentication settings.
- Check whether the e-mail server requires authentication. If yes, then specify the following options.
- From Name
- User Name
- Password
- From E-mail Address
- NOTE :
If Gmail blocks SMTP e-mails, then log in to Gmail account, navigate to Advanced Settings > Security > Less secure app access and click the toggle button to turn on Allow less secure apps option.
- Check whether the e-mail server requires authentication. If yes, then specify the following options.
- Test SMTP settings by sending a test e-mail.If you are unable to send a test e-mail:
- Check the SMTP server settings to see if they match the SMTP server provider’s settings.
- Check authentication credentials.
- Check the SMTP server provider’s security settings for SMTP (for example: Gmail blocks SMTP email unless user selects less secure app settings on their gmail account).
- Check whether there is network access from CSO to the SMTP server.
- Check whether the firewall is blocking SMTP traffic to SMTP server or whether the ports are blocked. If the server settings and authentication settings are correct, check whether the firewall is blocking port 587 and 465 and SMTP traffic. If it is a case of the firewall blocking, then work with the network administrator to unblock ports 465, 587, and SMTP traffic.