How can I execute an smtpTest.bat / smtpTest.sh ?

How can I execute an smtpTest.bat / smtpTest.sh ?

This file is used to check if the connectivity and the Discovery of the SMTP Server is possible from the Applications Manager installed server.  This standalone program is a excerpt of the same process we use to add the SMTP Server monitor. The usage to run this file is as below

Via command prompt go to AppManager/bin/troubleshooting directory and execute the SMTPtest file with the usage below.

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

 [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 :
 [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


This will initiate the process to discover the SMTP Server and on success will also fetch the data for the default attributes monitored and shown as the output.  From this you will be able to find If discovery is possible, If data is returned for all attributes or not.  In case there is any issue for an attribute data it'll be shown as null.  This infers that the data is not available in that server and has to be checked on the SMTP running server.
Note: Optional fields need to given for troubleshooting the SMTP Server settings. If there isn't value for any of the above field, mention it as empty quotes as "". 
For more info or assistance do send us the output of the above command for analysis along with Support Information File.

          • Related Articles

          • How can I execute UpdateHostnameandIP.bat/sh ?

            Here are the steps to execute UpdateHostnameandIP.bat/sh: 1) Execute <AppManager_Home>\bin\troubleshooting\UpdateHostaneandIP.bat/sh file. For example,  updateHostNameAndIp.bat/sh [Previous HostName/IpAddress] [new HostName/IpAddress] ...
          • How to execute ServerSSHTroubleshoot.bat or sh file ?

            Solution: Execute the file ServerSSHTroubleshoot.bat or sh from the <AppManager_home>\bin\troubleshooting folder (<AppManager_home>\bin in older versions of Applications Manager). Via command Prompt Execute the ServerSSHTroubleshoot.bat or sh file. ...
          • How to execute ServerSSHTroubleshoot.bat or sh file ?

            Execute the file ServerSSHTroubleshoot.bat or sh from the <AppManager_home>\bin\troubleshooting folder (<AppManager_home>\bin in older versions of Applications Manager). Via command Prompt Execute the ServerSSHTroubleshoot.bat or sh file. It will ...
          • How to execute WebsphereMQDebug.bat / WebsphereMQDebug.sh?

            This file is used to check if the connectivity and the Discovery of the Websphere MQ Server is possible from the Applications Manager server.  This standalone program is an excerpt of the same process we use to add the Websphere MQ Server monitor. ...
          • How can I execute the popTest.bat / popTest.sh file?

            This file is used to check if the connectivity and the Discovery of the POP Server is possible from the Applications Manager installed server.  This standalone program is a excerpt of the same process we use to add the POP Server monitor. The usage ...