EasyManua.ls Logo

Quectel AG35 SMTP - Page 15

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 14 / 30
1 UTF-8
2 GB2312
3 BIG5
<body_length> Integer type. The specific length of body. If the length of inputted data is less than the
specific value <body_length>, customers can exit from data mode by “+++”. The
actual length of the body is the inputted data length. The range is 1-10240. Unit: byte.
<input_length> The actual length of the inputted body.
<input_time> Integer type. The maximum time to upload email body from COM port. The range is
1-65535, and the default value is 90. Unit: second.
<err> Integer type. The error code of the operation. Please refer to Chapter 5.
Example
//Edit email body and the body length is 100 bytes.
AT+QSMTPBODY=0,100,120 //Edit email body. The character set is 0 which means ASCII,
and the maximum input length is 100 bytes and the maximum
input time is 120s.
CONNECT
<Input 100 bytes data> //Input 100 bytes data.
+QSMTPBODY: 100
OK
//If the actual inputted data is less than the specified length, customers can stop editing the body by
inputting “+++”.
AT+QSMTPBODY=0,100,120 //Edit email body. The character set is 0 which means ASCII,
and the maximum input length is 100 bytes and the maximum
input time is 120s.
CONNECT
<Input 90 bytes data>
//Input “+++”.
+QSMTPBODY: 90
OK
//If the actual inputted data is less than specified length and the maximum input time expires, AG35 will
end the editing of body automatically.
AT+QSMTPBODY=0,100,120 //Edit email body. The character set is 0 which means ASCII, and
the maximum input length is 100 bytes and the maximum input
time is 120s.
CONNECT
<Input 90 bytes data>
//120s later.
Quectel
Confidential

Related product manuals