EasyManua.ls Logo

Quectel EC2 Series - Contents; Table of Contents

Quectel EC2 Series
32 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LTE Module Series
EC2x&EG9x&EM05 SMTP AT Commands Manual
EC2x&EG9x&EM05_SMTP_AT_Commands_Manual 3 / 31
Contents
About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 3
Table Index ................................................................................................................................................... 4
1 Introduction .......................................................................................................................................... 5
1.1. Introduction about SSL Type ................................................................................................... 5
1.2. The Process of Sending Email ................................................................................................ 6
1.3. Description of Data Mode ........................................................................................................ 7
2 Description of SMTP AT Commands ................................................................................................. 8
2.1. AT+QSMTPCFG Configure Parameters for SMTP Server .................................................. 8
2.2. AT+QSMTPDST Add or Delete Recipients ........................................................................ 10
2.3. AT+QSMTPSUB Edit the Subject of an Email ................................................................... 12
2.4. AT+QSMTPBODY Edit the Body of an Email ..................................................................... 13
2.5. AT+QSMTPATT Add or Delete Attachments for an Email .................................................. 15
2.6. AT+QSMTPCLR Clear the Content of an Email ................................................................. 16
2.7. AT+QSMTPPUT Send an Email ......................................................................................... 17
3 Examples ............................................................................................................................................ 19
3.1. Send an Email without SSL ................................................................................................... 19
3.2. Send an Email with SSL ........................................................................................................ 21
3.3. Send an Email with STARTTLS ............................................................................................ 22
4 Error Handling .................................................................................................................................... 24
4.1. Executing SMTP AT Command Fails .................................................................................... 24
4.2. PDP Activation Fails .............................................................................................................. 24
4.3. DNS Parse Fails .................................................................................................................... 25
4.4. Error Response of AT+QSMTPPUT ...................................................................................... 25
5 Summary of Error Codes .................................................................................................................. 26
6 Summary of SMTP Protocol Error Codes ....................................................................................... 28
7 Appendix A References ..................................................................................................................... 30

Related product manuals