smtp command
Use this command to display and configure settings for the SMTP interface.
Running the smtp command with no options displays all SMTP interface information. The following table shows the arguments for the options.
Option | Description | Values |
---|---|---|
-auth | SMTP authentication support | enabled, disabled |
-authepw | SMTP authentication encrypted password | Valid password string |
-authmd | SMTP authentication method | CRAM-MD5, LOGIN |
-authn | SMTP authentication user name | String (limited to 256 characters) |
-authpw | SMTP authentication password | String (limited to 256 characters) |
-pn | SMTP port number | Valid port number |
-s | SMTP server IP address or hostname | Valid IP address or hostname (63 character limit) |
Syntax:
smtp [<em className="ph i">options</em>]
option:
-auth <em className="ph i">enabled|disabled</em>
-authepw <em className="ph i">password</em>
-authmd <em className="ph i">CRAM-MD5|LOGIN</em>
-authn <em className="ph i">username</em>
-authpw <em className="ph i">password</em>
-s <em className="ph i">ip_address_or_hostname</em>
-pn <em className="ph i">port_number</em>
Example:
system> smtp
-s test.com
-pn 25
system>
Give documentation feedback