12 retrieving email (urc mode), 13 retrieving email (polling mode) – Siemens AC75 User Manual

Page 305

Advertising
background image

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: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from 10.10.0.132 (unknown [10.10.0.132])
by testdomain.com (Postfix) with SMTP id 379321D004
for <[email protected]>; Tue, 20 Dec 2005 08:00:07 +0100 (CET)
To: [email protected]
Cc:
From: [email protected]
Subject: TestMail
Message-Id: <[email protected] >
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.

Advertising