DE910-DUAL AT commands reference guide
80392ST10102A Rev.2 – 2012-07-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 202 of 261
#EMAILD - E-mail Sending
AT#EMAILD=
[<da>[,
<subj>[,<att>]]]
Execution command sends an e-mail message if CDMA context has already been
activated with
AT#SGACT=1,1
or
AT#EMAILACT=1
Parameters:
<da>
- destination address, string type.
<subj>
- subject of the message, string type
<att>
- attached image flag(attaching image is not supported)
0 - don't attach any image
1 - attach the last snapshot taken
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:<err>
response before issuing further commands.
AT#EMAILD=?
Test command returns the
OK
result code.
Example
AT#EMAILD=”[email protected]”,”subject of the mail”,0
>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 CDMA 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.
#ESAV - E-mail Parameters Save
AT#ESAV
Execution command saves the actual e-mail parameters in the NVM of the device.
The values stored are:
-
E-mail User Name
-
E-mail Password
-
E-mail Sender Address
Содержание DE910-DUAL
Страница 1: ...80392ST10102A Rev 2 2012 07 03...