beautypg.com

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

Page 269

background image

E‐MAIL MANAGEMENT AT COMMANDS 

 

 

269 

HSPA+ AT Commands Reference Guide

 

“base64” designed to represent arbitrary sequences of octets in a form that need 
not be humanly readable. 
Note: If no attachment ( 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 (=1) is attached, only 0 (“7bit”) is possible. If a binary file (=2) is attached, only 
1 (“base64”) is possible. 

„

If =0 and  is present and not empty, the attachment is not considered. 

„

If  1 or 2 and  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