What to do when SMTP mail configuration fails?

What to do when SMTP mail configuration fails?

This article is about troubleshooting failure of SMTP mail configuration:

1.) Verify SMTP configuration from Command Prompt using TELNET.

How to run Telnet test?

Open command prompt with Admin permission and type:   telnet <smtp_Server> <port>

Example:    telnet   smtp.gmail .com  587

NOTE: Type the commands in the notepad and then copy paste it in the command prompt. Using Backspace/Delete/Insert/Editing in Command prompt creates incorrect results.



2.) Upon successful connection, you will see the below message:


For more details, please click here .

3.) If Telnet is successful, then perform SMTP test to check if the connectivity and the Discovery of the SMTP Server is possible from the server in which Applications Manager is installed.

How to run the SMTP test?

-> Open command prompt with Admin permission, navigate to AppManager/bin/troubleshootin g directory and execute the SMTPtest using the below usage.

smtpTest.bat [SMTP Server Address] [Port Number] [Timeout] [User Email(From)] [To Email Address] [Username] [Password] [SSL or TLS]

The below values are mandatory:

[SMTP Server Address]  SMTP Server Address

[Port Number]  Port number of the smtp server

[Timeout]  Time out value in seconds to be used for connecting to SMTP server. Default value is 5 seconds.

Optional values:

[User Email(From)] Specify FROM Email Address
[To Email Address] Specify TO Email Address
[Username] Account Username
[Password] Account Password
[SSL or TLS] Specify SSL or TLS for authentication

Note: Optional fields' values are compulsory for troubleshooting the SMTP Server settings. If there isn't any value for any of the above fields, mention it as empty quotes i.e. "".  

-> The SMTP test will initiate the process that discovers the SMTP Server and upon success, you will be able to find if discovery is possible and if data is returned for all attributes or not.  

-> In case there are issues for any attribute data, then it'll be shown a s null which implies that the data is not available in that server and has to be checked in the SMTP running server.

4.) If Telnet itself fails, ensure that you have a proper connection with the mail server and then do the SMTP test.

5.) For more info or assistance, send the SMTP test output for analysis along with Support Information File.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Mail Server Monitor - Troubleshooting

                      Common Mail Server Monitor Errors and Troubleshooting Guide 1. Unknown Host Error Description: This error occurs when the mail client cannot resolve the hostname of the mail server to an IP address. The issue typically arises from DNS resolution ...
                    • Verify SMTP configuration from Cmd Prompt using TELNET

                      NOTE: Type the commands to be entered in notepad and then copy paste it. Using Backspace/Delete/Insert/Editing in Cmd prompt creates incorrect result. Step 1:At command prompt, type:   telnet <smtp_Server>  <port>  Ex:   telnet  mail.mailserver.com  ...
                    • Critical\Warning alarm was raised, but action wasn't triggered

                      1.)   Ensure that actions have been associated for the attribute that generated the alarm. For example, if the CPU utilisation of the server exceeded the permissible levels and generated the alarm, navigate to Monitor page-> Configure Alarm and ...
                    • Oracle Database Server Discovery Fails with an Error Message

                      Error: Failed. Oracle Server is down. Error Message: IO Error: The Network Adapter could not establish the connection Solution 1: The Oracle server is down, please ensure that the server is up and running. Solution 2: The Oracle server is not ...
                    • PostgreSQL Monitor Addition Fails with “Invalid value for parameter 'TimeZone'”

                      Error Message FATAL: invalid value for parameter "TimeZone": Troubleshooting 1. Execute the below query on PgSQL server which you are trying to add as a monitor SHOW TimeZone; Cause This error occurs because the PostgreSQL server does not recognize ...