beautypg.com

13 retrieving email (polling mode) – Siemens Brodersen MC55 AT User Manual

Page 263

background image

MC55_ATC_V04.00

Page 263 of 475

3/17/06

Confidential / Released

10.11.13

Retrieving Email (Polling Mode)

This example uses the service profile described in Section

10.11.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

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.

^SISR: 1, 578

Command response indicates that 578 bytes are

available for reading.