SIM5300E AT Command Manual V1.02
Read Command
AT+SMTPFILE?
Response
+SMTPFILE: <fileType>,<fileName>,<encodeType>
OK
Write Command
AT+SMTPFILE=
<fileType>[,<fileName>,<encod
eType>]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters
<fileType> The type of the Email attachment.
0 no attachment
1 attach a txt file
2 attach a binary file (bmp, mp3, video…)
<fileName> The name of the Email attachment.
<fileNameLength> The max length of <fileName>.
<encodeType> Content-Transfer-Encoding used for attachment
0 “7bit” means data all represented as short lines of US-ASCII
data
1
“base64” designed to represent arbitrary sequences of octets
in a form that need not be humanly readable
Reference
Note:
If a txt file (<fileType>=1) is attached, <encodeType> must be 0.
If a binary file (<fileType>=2) is attached, <encodeType> must be 1.
14.2.10 AT+SMTPSEND Send Emails
AT+SMTPSEND Send Emails
Test Command
AT+SMTPSEND=?
Response
OK
Write Command
AT+SMTPSEND
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
If send successfully or not, return:
+SMTPSEND: <code>