Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Manual Do Utilizador

Página de 119
Part 1 – AT Commands for All Universal IP Devices  
Chapter 2 – SMTP AT Commands 
Universal IP AT Commands Reference Guide (Document S000457K) 
20 
 
 
#DOMAIN – Set Domain Name of the Sender 
Description:
 
When sending an email message, the TCP/IP stack software must provide the SMTP server with 
the domain name of the sender. In some cases, this domain name may be different from the 
domain name included in the sender's email address. 
Syntax:
  
AT#DOMAIN="<value>"  
 
AT#DOMAIN? Read or display current value (also AT#VSMTP or AT#VALL). 
Values:
 
Alphanumeric ASCII text string up to 120 characters.  No default. 
 
 
 
 
 
 
#RECiADD – Set Email Address 
Description:
 
To send email messages, the TCP/IP stack software must know the e-mail address of the 
recipient. This email address will appear in the email header sent by the TCP/IP stack software, 
in the field ‘To:‘ 
 
The RECi parameter can hold a maximum of 10 email addresses, each email address being at 
the most 120 characters long. 
Syntax: 
AT#RECi="<Value>" 
 
AT#RECi? (replace i with 1, 2, or 3) or AT#VMAILi, AT#VALL
 
Values
RECi (i = 1, 2, or 3) 
 
Alphanumeric ASCII text string up to 120 characters. The address must be provided in literal 
format (for instance xxxxx@company.com).  No default. 
Setting One Email Address / Resetting the Parameter / Getting: 
 
Set value / reset the parameter: AT#RECi="<Value>" (replace i with 1, 2, or 3) 
 
View value: AT#REC? (replace i with 1, 2, or 3) or AT#VMAILi, AT#VALL 
Setting One to Ten Email Address to the RECi Parameter / Resetting the Parameter: 
 
To set 1 to 10 email addresses to the RECi parameter, enter the AT#RECiADD<CR> overwriting 
command. 
 
Each email address has to be an alphanumeric ASCII text string, in literal format (for instance, 
dev12345678@web.xyz). To add another email address, enter the <CR><LF> pair. To end the 
setting, enter the following character: 1A (in ASCII code), generated in a keyboard by CTRL+Z 
escape sequence. 
Note 1:
  
This command overwrites all previously set email addresses of the RECi parameter. 
Note 2:
  
If more than ten addresses are entered, the 11th and subsequent addresses until the end 
character will be ignored. 
Example:
 
AT#REC1ADD<CR> 
 
Email1@domain.fr<CR><LF> 
 
Email2@domain.com<CR><LF> 
 
<CTRL+Z> 
 
 
 
 
 
#SUBJi – Set Email Pre-Defined Subject Text 
Description:
 
These parameters contain the pre-defined subject text that will be used by the TCP/IP stack to 
compose the email header. 
Syntax: 
 
AT#SUBJi="<value>"  (replace i with 1, 2, or 3) 
 
AT#SUBJi? (replace i with 1, 2, or 3) or AT#VMAILi, AT#VALL 
Values:
 
Alphanumeric ASCII text string up to 120 characters. No default.