Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Manuale Utente

Pagina di 119
Part 1 – AT Commands for All Universal IP Devices  
Chapter 3 – POP3 AT Commands 
Universal IP AT Commands Reference Guide (Document S000457K) 
27 
 
#POP3UN – Set POP3 User Name 
Description:
 
User name for POP3 account. To retrieve email messages sent to a specified email address, the 
TCP/IP stack software must know the POP3 user name that has been set for that email account. 
Syntax:
  
AT#POP3UN="<value>"   
 
AT#POP3UN? Read or display the current setting (or AT#VPOP3, AT#VALL). 
Values:
 
Alphanumeric ASCII text string up to 64 characters. No default. 
 
 
#GETMAIL – Retrieve Host Mail   
Description:
 
This command allows the attached host to direct the TCP/IP stack to retrieve the first mail present 
in the POP3 server list. Once an IP link is established, the attached host can retrieve an email 
message at any time (except when the TCP/IP stack software is already in a process using TCP 
resources). This command is similar to a “check email box” feature issued by a standard 
messaging client on a PC. 
Syntax: 
AT#GETMAIL 
Command 
Possible Responses 
AT#GETMAIL 
 
Note: Retrieve 
mail 
Ok_Info_Mail 
<mail content> 
Notes:
 This message is issued when one email message is located in the 
specified POP3 mailbox. 
 
 Depending on the #POP3HEADERMODE parameter, the TCP/IP stack 
sends the email header over the serial port to the attached host. 
 
 The (CR)(LF)(.)(CR)(LF) sequence indicates the end of the email body. 
AT#GETMAIL 
Ok_Info_NoMail 
Note: 
There is no email to retrieve in the POP3 mailbox. 
AT#GETMAIL 
#CME ERROR: 38027 
Notes:
 The address of the POP3 server has not been resolved by the 
secondary DNS server. 
 
TCP/IP stack is not able to reach the primary and secondary DNS 
servers or a wrong POP3 server address has been entered. 
AT#GETMAIL 
#CME ERROR: <value> 
 
Notes:
 An error has occurred during the communication with the remote POP3 
server. It may also happen during the data transfer after the MAIL 
message. In this case, it is preceded by a (CR)(LF)(.)(CR)(LF) 
sequence. 
 
This error can be due to one of the following reasons: 
 
- The DNS servers are not able to resolve the POP3 server address 
 
- The POP3 server is temporarily out of service 
 
- The authentication (POP3UN, POP3PW) is not valid 
 
See section ‘Response messages and error codes’. 
To view parameters, use #VPOP3 
 
 
Display Command 
#VPOP3 – POP3 Module Parameters 
Description:  
Directs the TCP/IP stack to display all the AT# parameters related to the email retriever 
configuration. 
Syntax:  
AT#POP3?  
 
Values
:  
POP3HEADERMODE 
 
 
POP3PORT 
 
 
POP3PW 
 
 
POP3SERV 
 
 
POP3UN 
 
 
POP3VERBOSE (for MT810SWM-IP only).  
 
 
No default