EasyManua.ls Logo

Quectel EC2 Series User Manual

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
Page #14 background imageLoading...
Page #14 background image
LTE Module Series
EC2x&EG9x&EM05 SMTP AT Commands Manual
EC2x&EG9x&EM05_SMTP_AT_Commands_Manual 13 / 31
//Add subject for email and the <charset> is UTF8. “7465737420534D5450” is the hex string of “TEST
SMTP”.
AT+QSMTPSUB=1,"7465737420534D5450" //Edit subject and the character set is 1 which means
UTF8.
OK
AT+QSMTPSUB? //Query subject of the email.
+QSMTPSUB: 1,"7465737420534D5450"
OK
2.4. AT+QSMTPBODY Edit the Body of an Email
The command is used to edit the body of an email. When AT+QSMTPBODY is executed, the module will
enter into data mode. All inputted data will be the body of email. If the inputted data reaches the
<body_length> or the time reaches <input_time>, the module will exit from data mode automatically. If the
inputted data is less than the <body_length>, customers can finish editing body by inputting “+++” or
changing DTR level from low to high before <input_time> reaches. The maximum size of the email body
is 10 Kbytes. The actual body length is the inputted data length.
Parameter
AT+QSMTPBODY Edit the Body of an Email
Test Command
AT+QSMTPBODY=?
Response
+QSMTPBODY: (0-3),(1-10240),(1-65535)
OK
Read Command
AT+QSMTPBODY?
Response
OK
Write Command
AT+QSMTPBODY=<charset>,<body_l
ength>[,<input_time>]
Response
If the format is correct and it is not sending an email:
CONNECT
<Input body data>
+QSMTPBODY: <input_length>
OK
If there is any error, response:
+CME ERROR: <err>
Question and Answer IconNeed help?

Do you have a question about the Quectel EC2 Series and is the answer not in the manual?

Quectel EC2 Series Specifications

General IconGeneral
LTEYes
Operating Temperature-40°C to +85°C
Storage Temperature-45°C to +90°C
Power ConsumptionTBD
VoiceYes
InterfacesUSB 2.0, UART, SPI, I2C, GPIO
GNSSGPS, GLONASS, BeiDou/Compass, Galileo, QZSS
SIM Interface1.8V/3.0V
CertificationsNCC
Operating System SupportAndroid/Linux/Windows
Firmware UpdateUSB
Driver SupportLinux, Windows, Android
ProtocolsTCP/UDP/PPP/FTP/HTTP/HTTPS/SMTP/MMS/SSL
Dimensions29.0mm × 32.0mm × 2.4mm
Frequency BandsLTE-FDD: B1/B3/B5/B7/B8/B20/B28, LTE-TDD: B38/B40/B41, UMTS: B1/B5/B8, GSM: 900/1800MHz

Related product manuals