EasyManua.ls Logo

Quectel AG35 SMTP - AT+QSMTPBODY Edit the Body of an Email

Quectel AG35 SMTP
31 pages
Print Icon
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
AG35 SMTP AT Commands Manual
AG35_SMTP_AT_Commands_Manual Confidential / Released 13 / 30
//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
<charset> Integer type. The character set of the body.
0 ASCII
AT+QSMTPBODY Edit the Body of an Email
Test Command
AT+QSMTPBODY=?
Read Command
AT+QSMTPBODY?
Write Command
AT+QSMTPBODY=<charset>,<body_l
ength>[,<input_time>]
Quectel
Confidential

Related product manuals