smtp command
This command configures and displays the CMM SMTP settings.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or smtp command errors for a list of error messages that are specific to the smtp command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display SMTP server host name or IP address | Displays the SMTP server domain name and host name or IP address. | smtp | Primary CMM:
|
Server host name or IP address - set | Checks syntax and sets the server host name or IP address. | smtp -s hostname/ip_address where hostname/ip_address is the host name or IP address of the server. The value can be cleared by setting it to an empty, double-quote delimited string (""). This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
SMTP e-mail server domain name - set | Checks syntax and sets the SMTP e-mail server domain name. | smtp -d domainname where domainname is a valid domain name that meets the following criteria:
This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Example:
smtp -s lenovo.com
smtp
The following example shows the information that is returned from these two commands:
system:mm[1]> smtp -s lenovo.com
OK
system:mm[1]> smtp
-s lenovo.com
SMTP email domain name is not set
system:mm[1]>