Multi-Tech Systems MTS2SA-T-R ユーザーズマニュアル

ページ / 181
Chapter 4 – Command Line Interface (CLI) 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
49
 
SMTP Client Commands – Setup 
SMTP Client Commands 
The commands in this section are listed in the order in which they might be used. 
 
 
Command Syntax 
set send-mail smtp-server-name <name/ip-address> 
Description 
Sets the SMTP server name or IP address. Server names must be such 
that they can be resolved by the DNS. 
Default Value 
NULL 
Success 
OK 
Error 
1.  Too few arguments 
“Usage: set send-mail smtp-server-name <name/ip-address> 
Type 'set send-mail smtp-server-name ?' for more information” 
2. Invalid name/IP address 
“ERROR: Invalid SMTP Server Name/IP Address” 
 
 
Command Syntax 
set send-mail smtp-server-port <port> 
Description 
Sets the SMTP Server port. 
Default Value 
25 
Success 
OK 
Error 
1.  Too few arguments 
“Usage: set send-mail smtp-server-port <port> 
Type 'set send-mail smtp-server-port ?' for more information” 
 
 
Command Syntax 
set send-mail host-name <host name> 
Description 
Sets the SMTP Client host name. 
Default Value 
NULL 
Success 
OK 
Error 
1.  Too few arguments 
“Usage: set send-mail host-name <host name> 
Type 'set send-mail host-name ?' for more information” 
 
 
Command Syntax 
set send-mail from-address-identity <name> 
Description 
Sets the ‘From:’ description in the email header as <name>. 
Default Value 
NULL 
Success 
OK 
Error 
1.  Too few arguments 
“Usage: set send-mail from-address-identity <name> 
 Type 'set send-mail from-address-identity ?' for more information” 
 
 
Command Syntax 
set send-mail from-address <email-address> 
Description 
Sets the email-address as the Default From address information. 
Default Value 
NULL 
Success 
OK 
Error 
1.  Too few arguments 
“Usage: set send-mail from-address <email-address> 
 Type 'set send-mail from-address ?' for more information”