Rainbow Electronics GM862-QUAD-PY User Manual
Page 372

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 372 of 434
#EMAILD - E-mail Sending
SELINT 0 / 1
AT#EMAILD=
[,
Execution command sends an e-mail message if GPRS context has already
been activated by either AT#EMAILACT=1 or AT#GPRS=1.
Parameters:
is assumed to be always 1, no matter what value it really is.
0 - don't attach any image
1 - attach the last snapshot taken
“snapshot.jpg”)
The device responds to the command with the prompt '>' and awaits for
the message body text.
To complete the operation send Ctrl-Z char (0x1A hex); to exit without
writing the message send ESC char (0x1B hex).
If e-mail message is successfully sent, then the response is OK.
If message sending fails for some reason, an error code is reported
Note: Care must be taken to ensure that during the command execution,
no other commands are issued.
To avoid malfunctions is suggested to wait for the OK or ERROR / +CMS
ERROR:
Note: sending an e-mail with an image attachment can take quite a long
time since it can be over 50Kb to send and can take more than 1 minute.
Example
AT#EMAILD=”[email protected]”,”subject of the mail”,1
>message body… this is the text of the mail message…
CTRL-Z
..wait..
OK
Message has been sent.
Note
The only difference between this command and the #SEMAIL is that this
command does not interact with the GPRS context status, leaving it ON or
OFF according to the #EMAILACT setting, thus, when the connection made
with #EMAILD is closed, the context status is maintained.
#EMAILD - E-mail Sending
SELINT 2
AT#EMAILD=[
[,
Execution command sends an e-mail message if GPRS context has already
been activated by either AT#SGACT=1,1 or AT#EMAILACT=1 or
AT#GPRS=1.