Examples; Send An Email Without Ssl - Quectel AG35 SMTP At Command Manual

Lte module
Table of Contents

Advertisement

3

Examples

3.1. Send an Email without SSL

Sending an email without SSL means that SSL function will not be used, and the email will be sent with
insecure connection. For example:
//Step 1: Configure and activate the PDP context.
AT+QICSGP=1,1, "UNINET","","",1
OK
AT+QIACT=1
OK
AT+QIACT?
+QIACT: 1,1,1,"10.7.157.1"
OK
AT+QSMTPCFG="contextid",1
OK
//Step 2: Configure SMTP server and user account.
AT+QSMTPCFG="ssltype",0
AT+QSMTPCFG="smtpserver","smtp.163.com",25
OK
AT+QSMTPCFG="account","sishen664551","wq664551"
OK
AT+QSMTPCFG="sender","sishen664551","sishen664551@163.com"
OK
AG35_SMTP_AT_Commands_Manual
AG35 SMTP AT Commands Manual
//Configure PDP context 1. APN is "UNINET" for
China Unicom.
//Activate PDP context 1.
//Activated successfully.
//Query the state of PDP context.
//Set the PDP context ID as 1. The PDP context
ID must be activated first.
//Set the SSL type as without SSL for SMTP. In
this case, SSL function will not be used, and
emails will be sent with insecure connection.
//Set the IP address or domain name and port of
SMTP server. The port of SMTP server depends
on mail service provider.
//Set username and password.
//Set sender name and sender
address. The sender name
will be shown when the
email is received.
Confidential / Released
LTE Module Series
19 / 30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents