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  ...
                    • Fields supported for the Configuration Items Sync in ServiceDeskPlus On-Premise Integration from Applications Manager

                      Following are the list of configuration attributes that are supported in the ServiceDesk Plus On-Premise (SDP OP) CMDB CI Sync in Applications Manager - SDP Integration, categorized by monitor types: Servers Monitor Type Configuration Attributes ...
                    • How to troubleshoot Python agent installation or configuration

                      How to troubleshoot Python agent installation or configuration? Python Agent Check : Ensure that you have included the Python code snippet or are starting the application using Python as required. If not, refer to step 4 in this link. Make sure that ...
                    • IP Whitelist/Blacklist configuration

                      Applications Manager does not have support for filtering access through the request ip's. However making use of the underlying Tomcat app server, this can be achieved.  Users should ideally use a network firewall to restrict IP based access (this is ...