Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.756 Beiträge
 
Delphi 10.4 Sydney
 
#5

Re: Anzahl der ungelesenen e-mails abfragen (IdPop3)

  Alt 8. Mai 2006, 15:59
@Ghost007

aus der Delphi Hilfe:

Zitat:
function Retrieve(const MsgNum: Integer; AMsg: TIdMessage): Boolean;

Parameters

const MsgNum: Integer

Message number to retrieve from the server.


AMsg: TIdMessage

Message instance where the values will be stored.


Returns

Boolean - True on success.


Description

Retrieve is a Boolean function that retrieves the message number passed as the argument and stores the result in a IdMessage component, with MIME decoding. An IdText object is created for any text parts the message has and an IdAttachment for the attachments.
Retrieve calls ReceiveHeader and ReceiveBody to load the message contents into AMsg.
Musst nur die Message ID der Mail wissen.

Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat