AC75 AT Command Set
10.14 Examples of how to Configure and Use Internet Service Profiles s
AC75_ATC_V01.002 Page 305 of 569 10/30/06
Confidential / Released
10.14.12 Retrieving Email (URC Mode)
This example uses the service profile described in Section 10.14.11.
10.14.13 Retrieving Email (Polling Mode)
This example uses the service profile described in Section 10.14.11.
at^siso=1
Open the service that was created to retrieve email
number 2 from the POP3 server.
OK
^SISR: 1, 1
The "^SISR" indicates that data is available for read-
ing.
at^sisr=1,500
Try to read 500 bytes.
^SISR: 1, 500
Command response indicates that 500 bytes will be
transferred, i.e. there will be no other URC since the
requested length equals the confirmed length.
Return-Path: <subscriber1@testdomain.com>
X-Original-To: subscriber1@testdomain.com
Delivered-To: subscriber2@testdomain.com
Received: from 10.10.0.132 (unknown [10.10.0.132])
by testdomain.com (Postfix) with SMTP id 379321D004
for <subscriber1@testdomain.com>; Tue, 20 Dec 2005 08:00:07 +0100 (CET)
To: subscriber2@testdomain.com
Cc:
From: subscriber1@testdomain.com
Subject: TestMail
Message-Id: <20051220070007.379321D004@testdomain.com >
Date: Tue, 20 Dec 2005 08:00:07 +0100
OK
at^sisr=1,500
Try to read another 500 bytes.
at^sisr=1,78
Command response indicates that only 78 bytes will
transferred.
(CET)
X-UIDL: &lL"!(Z6"!^cl!!1+%"!
Status: RO
Hallo Tom!Bye Bye Tom!
.
Dot indicates end of mail according to RFC 2821.
OK
^SISR: 1, 2
Parameter <urcCauseId> of the "^SISR" URC
confirms that all data is transferred successfully.
at^sisc=1
Close the service.
OK
at^siso=1
Open the service that was created to retrieve email
number 2 from the POP3 server.
OK
at^sisr=1,1000
Try to read 1000 bytes.
^SISR: 1, 0
Command response indicates that currently no data
is available.
OK
at^sisr=1,1000
Again, try to read 1000 bytes.
^SISR: 1, 0
Command response indicates that currently no data
is available.
OK
at^sisr=1,1000
Again, try to read 1000 bytes.