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

Wireless edge modems
Table of Contents

Advertisement

10.14.9 Configuring SMTP 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 CSD or GPRS profile. The example uses the connection profile ID 1 and the service profile ID 9.
at^siss=9,srvType,"Smtp"
OK
at^siss=9,alphabet,"1"
OK
at^siss=9,conId,"1"
OK
at^siss=9,address,"192.168.1.2"
OK
at^siss=9,user,"subscriber1"
OK
at^siss=9,passwd,"subscr1"
OK
at^siss=9,smFrom,subscriber1@testdomain.com
OK
at^siss=9,smRcpt,"subscriber2@testdomain.com
OK
at^siss=9,smSubj,"Meeting Request Sunday Morning"
OK
at^siss=9,smAuth,"1"
OK
at^siss?
^SISS: 0, "srvType", ""
^SISS: 1, "srvType", ""
^SISS: 2, "srvType", ""
^SISS: 3, "srvType", ""
^SISS: 4, "srvType", ""
^SISS: 6, "srvType", ""
^SISS:7, "srvType", ""
^SISS: 8, "srvType", ""
^SISS: 9, "srvType", "Smtp"
^SISS: 9, "conId", "1"
^SISS: 9, "alphabet", "1"
^SISS: 9, "address", "192.168.1.2"
^SISS: 9, "user", "subscriber1"
^SISS: 9, "passwd", "*******"
^SISS: 9, "smFrom", "subscriber1@testdomain.com"
^SISS: 9, "smRcpt", "subscriber2@testdomain.com"
^SISS: 9, "smCC", ""
^SISS: 9, "smSubj", "Meeting Request Sunday Morning"
^SISS: 9, "smHdr", ""
^SISS: 9, "tcPort", "25"
^SISS: 9, "smAuth", "1"
^SISS: 9, "tcpMR", "10"
^SISS: 9, "tcpOT", "6000"
OK

10.14.10 Sending Email (URC Mode)

This example uses the service profile described in Section 10.14.9.
at^siso=9
OK
^SISW: 9, 1
at^sisw=9,87
^SISW: 9,87,87
Good Morning everyone, we are delighted to
announce our next meeting on Sunday morning.
OK
at^sisw=9,0,1
^SISW: 9,0,0
^SISW: 9,2
at^sisi=9
^SISI: 9,6,0,87,0,0
at^sisc=9
OK
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
Chapter 10 – Internet Service Commands
Select service type SMTP.
Choose ASCII alphabet.
Select connection profile 1.
Specify SMTP server address.
Specify sender's user name required for SMTP authentication.
Specify password used by the sender for SMTP authentication.
Sender's email address.
Recipient's email address.
Enter text for subject field.
Sender name and password can be used for SMTP authentication.
To check the profile enter the AT^SISS read command.
The response includes the values of all 10
connection profiles. In this example, no values are
set for the profiles 0 through 8. Service profile 9 contains
the values specified above and the values automatically
assumed by default.
Default: TCP port number commonly used for SMTP.
Default: Number of retransmission attempts for TCP packets is 10 (=
default of AT^SCFG).
Default: Timeout before closing outstanding TCP connection is 6000
sec (= default of AT^SCFG).
Open the service, i.e. start to send the email.
The "^SISW" URC indicates that email data can be transferred.
The email to be sent has 87 bytes.
The write command response confirms that 87 bytes are available for
transmission.
Write the message text.
Set the <eodFlag> to mark the end of the email body.
The <eodFlag> is accepted by the service.
The "^SISW" URC confirms that all data is sent successfully.
Check the connection state of the service profile 9.
The command response confirms that the SMTP service is in state "6"
(Down) and that 87 bytes have been transferred.
Close the service.
166

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