6 e-mail gprs context activation - #emailact – Rainbow Electronics GM862-QUAD-PY User Manual

Page 369

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 369 of 434

#SEMAIL - E-mail Sending With GPRS Context Activation

SELINT 2

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.

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.

Note: this command is not allowed if GSM context is active (see
AT#SGACT=0,1).

AT#SEMAIL=?

Test command returns the OK result code.

Example

AT#SEMAIL="[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.

3.5.7.6.6 E-mail GPRS Context Activation - #EMAILACT

#EMAILACT - E-mail GPRS Context Ativation

SELINT 0 / 1

AT#EMAILACT[=
[<mode>]]

Execution command deactivates/activates the GPRS context, eventually
proceeding with the authentication with the parameters given with #PASSW
and #USERID.

Parameter:
<mode> - GPRS context activation mode
0 - GPRS context deactivation request
1 - GPRS context activation request

Note: issuing AT#EMAILACT<CR> reports the current status of the GPRS
context for the e-mail, in the format:

#EMAILACT: <status>

where:
<status>

Advertising