Infra Suite command-line tool enables outgoing e-mail (SMTP) server probing on the computer it's being run at. When run, it performs either automated or manual probing of specified SMTP e-mail server by sending a test message to named recipient.
Command-line tool should be run using following parameters:
fdf_cmdmgr.exe -email -protocol=smtp -host=HostName [-port=Port] [-username=UserName -password=Password] -from:SenderAddress -to:RecipientAddress
Basic example, probing all port/SSL/TLS combinations automatically:
fdf_cmdmgr.exe -email -protocol=smtp -host="smtp-auth.mailprotect.be" -username="fdf.test@geoview.be" -password="*******" -from:"fdf.test@geoview.be" -to:"cdheere@vianova-systems.be"
Probing specific port using SSL encryption:
fdf_cmdmgr.exe -email -protocol=smtp -host="smtp-auth.mailprotect.be" -port:465 -ssl -username="fdf.test@geoview.be" -password="*******" -from:"fdf.test@geoview.be" -to:"cdheere@vianova-systems.be"
Probing all port/SSL combinations when server requires no authentication:
fdf_cmdmgr.exe -email -protocol=smtp -host="smtp-auth.mailprotect.be" -from:"fdf.test@geoview.be" -to:"cdheere@vianova-systems.be"
Possible probing results using basic example (see above):
Outgoing e-mail SMTP transport:
==================================================
HOST = smtp-auth.mailprotect.be
USER = fdf.test@geoview.be
PASS = ********
FROM = fdf.test@geoview.be
TO = cdheere@vianova-systems.be
--------------------------------------------------
# PORT SSL TLS
--------------------------------------------------
LS/Q1 25 No - PASSED
LS/Q2 2525 No - PASSED
LS/Q3 587 No - ERROR
LS/Q4 25 Yes - ERROR
LS/Q5 465 Yes - PASSED
LS/Q6 587 Yes - ERROR
Changing Application's SMTP Engine
To switch outgoing transport engine used by application, change package.ini file to reflect following:
[Debug]
...
SmtpEngine=1
SmtpEngine variable may have following values:
0 = if passed tests were of LS* kind
1 = if passed tests were of MS* kind