> 10.14.14 | Retrieving Email (Polling Mode)

> This example uses the service profile described in Section 10.14.12.

> 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.
> 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 (CET) X-UIDL: &lL"!(Z6"!^cl!!1+%"! Status: RO Hallo Tom!Bye Bye Tom!
> . | Dot indicates end of mail according to RFC 2821.
> OK
> at^sisr=1,1000 | Try to read 1000 bytes once again.
> ^SISR: 1,-2 | No more data available to read, i.e. the service has finished.
> OK
> at^sisi=1 | Check the connection state of service profile 1.
> ^SISI: 1,6,578,0,0,0 | The command response indicates that the POP3 service is in state "6" (Down) and that 578 bytes have been retrieved.
> OK
> at^sise=1 | Check error status of service profile 1.
> ^SISE: 1,0 | The command response confirms that no error occurred.
> OK
> at^sisc=1 | Close the service.
> OK