Introduction; Introduction About Ssl Type; The Process Of Sending Email - Quectel AG35 SMTP At Command Manual

Lte module
Table of Contents

Advertisement

1

Introduction

AG35 provides SMTP application interface for sending emails. This document is a reference guide to all
the AT commands defined for SMTP.

1.1. Introduction about SSL Type

There are three kinds of connections between SMTP client and SMTP server:
Without SSL
SSL
STARTTLS
Some SMTP servers do not support connection without SSL, while some can support all of them.
Customers can choose one kind according to the mail service provider.
These three kinds of connections can be set by <ssltype> parameter in AT+QSMTPCFG=
If <ssltype> is 0, it means "without SSL". In this case, SSL function will not be used, and emails are
1.
sent with insecure connection. The port of SMTP server depends on mail service provider, and it is
the port 25 usually.
If <ssltype> is 1, it means "SSL". In this case, emails are sent with SSL/TLS encrypted SMTP. The
2.
port of SMTP server depends on mail service provider, and it is the port 465 or 587 usually.
If <ssltype> is 2, it means "STARTTLS". In this case, the normal insecure connection can be
3.
upgraded to secure connection through STARTTLS function, for sending the mail data. The port of
SMTP server depends on mail service provider, and it is the port 25, 465 or 587 usually.

1.2. The Process of Sending Email

As AG35 supports SMTP protocol, customers can send emails easily by AG35 SMTP AT commands. The
general process is as follows:
Step 1: Configure and activate a PDP context.
1)
Configure <APN>, <username>, <password> and other parameters of a PDP context by
AT+QICSGP. Please refer to Quectel_AG35_TCP(IP)_AT_Commands_Manual for details.
AG35_SMTP_AT_Commands_Manual
AG35 SMTP AT Commands Manual
Confidential / Released
LTE Module Series
"
"
ssltype
.
5 / 30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents