Internet Direct (Indy) Version 9.0.1 Beta
|
function Retrieve(const AMsgNum: Integer; AMsg: TIdMessage): Boolean;
Retrieve send the IMAP4 FETCH command for the specified message number. On successful retrieval of the RFC 822 envelope data, Retrieve calls ReceiveHeader and ReceiveBody to load the message contents into the TIdMessage instance specified by AMsg.
Retrieve sets the return value to True when ResultNo contains the value wsOk.