User's Manual

Telit TRIZIUM Product Description
80264ST10007a Rev. 4– 09/09/04
Reproduction forbidden without DAI Telecom written authorization – All Right reserved – Right of modification reserved page 188 of 202
5.9.2.5 #SEMAIL - Send Email
#SEMAIL - Send Email
Execute command
AT#SEMAIL =
"<da>","<subj>",<att>"
Sends an Email message .
Parameter:
<da> - destination address
<subj> - subject of the message
<att> - attach image flag
0 - don't attach any image
1 - attach the snapshot taken (must be already been 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 hexadecimal) , to exit without
writing the message send ESC char (0x1B hexadecimal).
If email 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 a mail with an image attachment can take quite a long time since it
can be over 50Kb to send and can take over 1 minute.
Read command
Write command
Test command
Example AT#SEMAIL="me@myaddress.com","subject of the mail",1
Ø message body… this is the text of the mail message…
CTRL-Z
..wait..
OK
Message has been sent.
Reference
Telit specifications
SW release
Version A