TIpClientPop() > Methods xHarbour Developers Network  

oTIpClientPop:retrieve()

Retrieves an eMail from the mail server

Syntax

:retrieve( <nMail>, [<nBytes>] ) --> cMail

Arguments

<nMail>
This is a numeric value specifying the ordinal number of the mail to retrieve from the mail server.
<nBytes>
Optionally, a numeric value can be passed specifying the number of bytes to retrieve from the mail. If not specified, the entiere mail message s retrieved.

Description

Method :retrieve() reads the mail with number <nMail> from the mail server and downloads it to the local station. The mail message is returned as a character string holding the raw data of the entire mail messaged. The message can be decomposed into its individual components by passing the returned string to oTIpMail():fromString().


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe