Manual
     Smart Machine Smart Decision 
SIM800 Series_AT Command Manual_V1.09  298  2015-08-03 
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 
Parameter Saving 
Mode 
NO_SAVE 
Max Response Time - 
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 the Email 
AT+SMTPSEND Send the Email 
Response 
OK 
Test Command 
AT+SMTPSEND=?
Parameters 
Response 
OK 
If error is related to ME functionality: 
ERROR 
If send successfully or not, return: 
+SMTPSEND: <code> 
Execution Command
AT+SMTPSEND 
Parameters 
<code> The result of sending Email. 
1  The Email has been sent successfully. 
61  Network error. 
62  DNS resolve error 
63  SMTP TCP connection error. 
64  Timeout of SMTP server response 
65  SMTP server response error 
66  Not authentication 
67  Authentication failed. SMTP user name or password may 
be not right. 
68  Bad recipient.  










