Chapter 3 – SMTP/POP3 Email Services
Multi-Tech Systems, Inc. AT Commands for Wireless Modems with IP Connectivity (S000333D)
18
#REC1, REC1ADD / REC2, REC2ADD / REC3, REC3ADD Set Email Address
Definition:
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.
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 [email protected]).
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)
Get 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,
[email protected]). To add another email address, enter the <CRLF> pair. To end the setting,
enter the following character: 1A (in ASCII code), generated in a keyboard by CTRL+Z escape
sequence.
Note1:
This command overwrites all previously set email addresses of the RECi parameter.
Note2:
If more than ten addresses are entered, the 11
th
and subsequent addresses until the end
character will be ignored.
Example:
AT#REC1ADD<CR>
[email protected]<CRLF>
[email protected]<CRLF>
<CTRL+Z>
#SUBJ1 / SUBJ2 / SUBJ3 Set Email Pre-Defined Subject Text
Definition:
These parameters contain the pre-defined subject text that will be used by the TCP/IP stack to compose
the email header.
Values:
Alphanumeric ASCII text string up to 120 characters.
No default.
Syntax:
Set Value: AT#SUBJi=<value> (replace i with 1, 2, or 3)
Get Value: AT#SUBJi? (replace i with 1, 2, or 3) or AT#VMAILi, AT#VALL
#BODY1 / BODY2 / BODY3 Set Pre-Defined Email Combinations
Definition:
These parameters store pre-defined message bodies. They allow the host application to send pre-
defined email combinations.
Values:
The body content has to be entered after the AT#BODY1<CR> command. It has to be an alphanumeric
ASCII text string up to 120 characters followed this character: 1A (in ASCII code) and generated on a
keyboard by CTRL+Z.
No default.
Syntax:
Set Value: AT#BODYi=<value> (replace i with 1, 2, or 3)
Get Value: AT#BODYi? (replace i with 1, 2, or 3) or AT#VMAILi, AT#VALL
Example:
AT#BODY1<CR>
Text string
<CTRL+Z>