Sending Email (Polling Mode); Configuring Pop3 Service Profile - Multi-Tech MultiModem EDGE Reference Manual

Wireless edge modems
Table of Contents

Advertisement

10.14.11 Sending Email (Polling Mode)

This example uses the service profile described in Section 10.14.9.
at^siso=9
OK
at^sisw=9,10
^SISW: 9, 10, 0
Hello Tom!
OK
at^sisw=9,10
^SISW: 9, 0, 0
OK
at^sisw0=9,12
^SISW: 9, 12, 0
Bye Bye Tom!
OK
at^sisw=9,0,1
^SISW: 9,0,0
OK
at^sisi=9
^SISI: 9,5,0,22,0,0
OK
at^sisi=9
^SISI: 9,6,0,22,0,0
OK
at^sise=9
^SISE: 9,0
OK
at^sisc=9
OK

10.14.12 Configuring POP3 Service Profile

First set up a connection profile as explained in Section 10.1.1 or Section 10.1.2. Enter at least all parameters which
are mandatory for a GPRS profile. The example uses the connection profile ID 1 and the service profile ID 1. The
service profile is set up to retrieve a specific email (email number 2).
at^siss=1,srvType,"Pop3"
OK
at^siss=1,conId,"1"
OK
at^siss=1,address,"192.168.1.2"
OK
at^siss=1,user,"subscriber1"
OK
at^siss=1,passwd,"subscr1"
at^siss=1,pCmd,"3"
OK
at^siss=1,pNumber,"2"
OK
at^siss?
^SISS: 0, "srvType", ""
^SISS: 1, "srvType", "Pop3"
^SISS: 1, "conId", "1"
^SISS: 1, "alphabet", "0"
^SISS: 1, "address", "192.168.1.2"
^SISS: 1, "user", "subscriber1"
^SISS: 1, "passwd", "*******"
^SISS: 1, "pCmd", "3"
^SISS: 1, "tcPort", "110"
^SISS: 1, "pNumber", "2"
^SISS: 1, "pLength", "0"
^SISS: 1, "pDelFlag", "0"
^SISS: 1, "tcpMR", "10"
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
Chapter 10 – Internet Service Commands
Open the service, i.e. start to send the email.
Try to write 10 bytes.
The service response indicates that 10 bytes can be written.
Write 10 bytes.
Try to write 10 bytes.
The service response indicates that the service refuses to accept any
data at the moment.
Try to write 12 bytes.
The service response indicates that 12 bytes can be written.
Write 12 bytes.
Set the <eodFlag> to mark the end of the email body.
The <eodFlag> is accepted by the service.
Check the connection state of service profile 9.
The command response confirms that the SMTP service is in state "5"
(Closing) and that 22 bytes have been written.
Check the connection state of service profile 9.
The command response confirms that the SMTP service is in state "6"
(Down) and that 22 bytes have been written.
Check error status of service profile 9.
The command response confirms that no error occurred.
Close the service.
Select service type POP3.
Select connection profile 1.
Specify POP3 server address.
Specify recipient's mailbox name.
Password used by recipient for authentication to OK POP3 server.
Command used to retrieve emails.
Email message number 2 shall be retrieved.
To check the profile enter the AT^SISS read command.
The response includes the values of all 10 connection profiles. Service
profile 1 contains the values specified above and the values
automatically assumed by default.
Default: Character set enabled with AT+CSCS shall be used.
Default: TCP port number commonly used for POP3.
Default: Message size shall not be limited.
Default: Retrieved message shall not be deleted on POP3 server.
Default: Number of retransmission attempts for TCP packets is 10 (=
default of AT^SCFG).
167

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MultiModem EDGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents