User manual
Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
71
SN
(additional
content)
Send out the email with above
setting plus additional content
%CTn
%IP,
%TMn
%AI
“%” to indicate “variable” options in
additional content
Example: Setting up EM set #1 with elements: recipient #1, cc #3, bcc #4, subject #1, content #2:
EM 1 TO 1 EM 1 CC 3 EM 1 BC 4 EM 1 SU 1 EM 1 BD 1
Example: Sending email EM set#1 with additional content "HELLO_WORLD":
EM 1 SN HELLO_WORLD
Example: Setting up EM set #2 with elements: recipient bcc #3, no subject and content only "0", and send out
immediately:
EM 2 BC 3 EM 2 SN 0
Example: Send an email EM set #1 with content “Counter#2_value_is_20"
EM 1 SN Counter#2_value_is_%CT2
20.6.2 Using “variable” options within additional email content
In the SMS content field you can use “%” and Service type to insert the current value of Service into the SMS content:
Variable
%CTn
%TMn
%IP
%AI
Description
Current
value of
counter
Id#n
Current
value of
Timer Id#n
Current I/P
Ports’
summing
value
Current AI
Ports
values
Range of ‘n’
1 to 5
1 to 10
0 to 1
in mV
Invalid Service name or Id will be ignored.
Note:
1. To use Email Sending Service make sure all parameters has been setup properly first:
- APN (+IPGPRS)
- SMTP server (+IPSMTP)
- Sender and recipient address (+EMADDR)
- Subject (+EMSUBJ)
- Body (+EMBODY)
It is strongly suggested you have tested the email sending function by using AT+EMSEND command to send test
emails first before using EM Command Sting.
2. If Operation argument of TO,CC,BC,SU and BD is set to 0(default), the associated Email set will not contain that
element
3. A minimum email contains one recipient (either TO, CC or BC) and one character of additional email content.
4. Unlike AT+EMSEND command, sending email use EM service will automatically making GPRS connection
(+IPCONNECT=1,1)
5. In case email sending is unsuccessful due to any reason, the same email will be resent for max 2 more times. If all
retries are fail that Email will be aborted