Specifications
E‐MAILMANAGEMENTATCOMMANDS
269 HSPA+ATCommandsReferenceGuide
1
“base64”designedtorepresentarbitrarysequencesofoctetsinaformthatneed
notbehumanlyreadable.
Note:Ifnoattachment(<att>0)hastobesent,thebehavioristhesameaswith
#EMAILD.
OKafterCTRL‐Zisreturned(ifconnectionwassuccessful),theswitchtoonline
modeisnotpe
rformed.
Notes
Ifatxtfile(<att>=1)isattached,only<encod>0(“7bit”)ispossible.Ifabinaryfile(<att>=2)isattached,only
<encod>1(“base64”)ispossible.
If<att>=0and<filename>ispresentandnotempty,theattachmentisnotconsidered.
If<att>1or2and<filename>isnotpresent,commandreturnsanERROR.
Examples
at#smtpcl="me@myaddress.com","test1",1,"sample.txt",0
>messagebody...thisisthetextofthemail message…
Send CTRL-Z
CONNECT
…datareceivedontheserialportissentasattachment….
SendescapesequencetoclosetheSMTPconnection
+++
NO CARRIER
at#smtpcl="me@myaddress.com","test2",2,"image.jpg",1
>messagebody...thisisthetextofthemail message…
Send CTRL-Z
CONNECT
…datareceivedontheserialportisbase64‐encodedandsentasattachment….
SendescapesequencetoclosetheSMTPconnection
+++
NO CARRIER