Multi-Tech Systems MTS2SA-T User Manual

Page of 181
Chapter 4 – Command Line Interface (CLI) 
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 
53
 
POP3 Client Commands – Setup 
 
Command Syntax 
set recv-mail leave-on-server <enable/disable> 
Description 
Set the variable “leave a copy of message on server” flag, which tells the 
POP3 server not to delete the emails from it once the emails are received. 
Default Value 
Disable 
Success 
OK 
Error 
1.  Too few arguments 
 
 
Command Syntax 
recv-mail list [index] 
Description 
This command retrieves list of emails from the mailbox. 
Displays the list of emails in the order below:  
<index of the mail> <size in bytes>  
or  
Mailbox is empty 
Default Value 
Success 
OK 
Error 
1.  Too few arguments 
Usage: recv-mail list [index] 
Type 'recv-mail ?'  for more information 
 
 
Command Syntax 
recv-mail header [index] 
Description 
This command receives the header information of all the emails present in 
the mailbox if index is not issued. If index is issued, the mail header 
corresponding to the index is retrieved. 
Default Value 
Success 
OK 
Error 
1.  Too few arguments 
Usage: recv-mail header [index] 
Type 'recv-mail ?'  for more information 
 
 
Command Syntax 
recv-mail mail [index] 
Description 
This command retrieves all the pending emails present in the mailbox if 
index is not given. If index is issued, the email corresponding to the index is 
retrieved. 
Default Value 
Success 
OK 
Error 
1.  Too few arguments 
Usage: recv-mail mail [index] 
Type 'recv-mail ?'  for more information 
 
 
Command Syntax 
recv-mail delete <index> 
Description 
Deletes the email corresponding to the index. The emails will not be deleted 
until the “recv-mail quit” command is executed. 
Default Value 
Success 
OK 
Error 
1.  Too few arguments 
Usage: recv-mail delete <index> 
Type 'recv-mail ?'  for more information