SMTP Diagnostics

SMTP Diagnostics - Online Documentation

Using the Command Line Tool

Return to Introduction  Previous page Next page

For those wishing to use SMTP Diagnostics in an automated fashion can use the SMTP Diagnostics Command Line Tool.  This tool is available in the program group and in the install directory.

 

Usage:

 

sdcmd.exe <options>

 

Options:

 

/help

    This help information. Short form is '/?'.

 

/profile <profile>

    File path to a profile. All other parameters are ignored when a profile is specified. Short form is '/p'.

 

/email <email>

    Email address. Used as From and To address unless the parameters From and To are used. Short form is '/e'.

 

/from <email>

    From address. This parameter is ignored when the Email parameter is used. Short form is '/f'.

 

/to <email>

    To address. This parameter is ignored when the Email parameter is used. Short form is '/t'.

 

/attachment <path>

    File path to one or more attachments. Each attachment must be separated with a semicolon. Short form is '/a'.

 

/subject <subject>

    Subject of the email. Short form is '/s'.

 

/message <message>

    Message included in the email. Short form is '/m'.

 

/smtpserver <server>

    SMTP server name or IP address. Short form is '/ss'.

 

/smtpusessl

    SMTP server requires encrypted connection (SSL) if this flag is present. Short form is '/sssl'.

 

/smtpport <portnumber>

    SMTP server port number. Default is 25. Short form is '/spn'.

 

/smtpuser <username>

    User name used during SMTP authentication. Short form is '/su'.

 

/smtppassword <password>

    Password used during SMTP authentication. Short form is '/sp'.

 

/popserver <server>

    POP server name or IP address. Ignored unless PopAuthOn flag is used. Short form is '/ps'.

 

/popusessl

    POP server requires encrypted connection (SSL) if this flag is present. Short form is '/pssl'.

 

/popport <portnumber>

    POP server port number. Default is 110. Short form is '/ppn'.

 

/popuser <username>

    User name used during POP authentication. Short form is '/pu'.

 

/poppassword <password>

    Password used during POP authentication. Short form is '/pp'.

 

/smtpauthon

    SMTP authentication flag. Authentication is performed if this flag is present. Short form is '/sao'.

 

/popauthon

    POP authentication flag. Authentication is performed if this flag is present. Short form is '/pao'.