At+Smtpsend Send Emails - SimCom SIM5300E At Command Manual

Hide thumbs Also See for SIM5300E:
Table of Contents

Advertisement

Read Command
AT+SMTPFILE?
Write Command
AT+SMTPFILE=
<fileType>[,<fileName>,<encod
eType>]
Parameters
Reference

14.2.10 AT+SMTPSEND Send Emails

AT+SMTPSEND
Send Emails
Test Command
AT+SMTPSEND=?
Write Command
AT+SMTPSEND
SIM5300E AT Command Manual V1.02
Response
+SMTPFILE: <fileType>,<fileName>,<encodeType>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
<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
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.
Response
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
If send successfully or not, return:
+SMTPSEND: <code>
234

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM5300E and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents