Notes, Examples – Synaccess Networks NP-0801DTM User Manual
Page 269

E‐MAIL MANAGEMENT AT COMMANDS
269
HSPA+ AT Commands Reference Guide
1
“base64” designed to represent arbitrary sequences of octets in a form that need
not be humanly readable.
Note: If no attachment (<att> 0) has to be sent, the behavior is the same as with
#EMAILD.
OK after CTRL‐Z is returned (if connection was successful), the switch to online
mode is not performed.
Notes
If a txt file (<att>=1) is attached, only <encod>0 (“7bit”) is possible. If a binary file (<att>=2) is attached, only
<encod>1 (“base64”) is possible.
If <att>=0 and <filename> is present and not empty, the attachment is not considered.
If <att> 1 or 2 and <filename> is not present, command returns an ERROR.
Examples
at#smtpcl="[email protected]","test1",1,"sample.txt",0
>message body...this is the text of the mail message…
Send CTRL-Z
CONNECT
…data received on the serial port is sent as attachment….
Send escape sequence to close the SMTP connection
+++
NO CARRIER
at#smtpcl="[email protected]","test2",2,"image.jpg",1
>message body...this is the text of the mail message…
Send CTRL-Z
CONNECT
…data received on the serial port is base64‐encoded and sent as attachment….
Send escape sequence to close the SMTP connection
+++
NO CARRIER