Re: Attached Files

Giganews Newsgroups
Subject: Re: Attached Files
Posted by:  Remy Lebeau \(Indy Team\) (
Date: Tue, 9 Jun 2009

"Paulo" <na…> wrote in message

> Can someone tell me if it's possible and how to get the
> number of attached files if I have only the header of a
> message?

A message's header does not contain that information.  In POP3, the only way
to count attachments is to parse the entire message content.  In IMAP, on
the other hand, metadata about a message's structure can be reteived (look
at TIdIMAP4.RetrieveStructure()) without downloading the actual contents.

Remy Lebeau (TeamB)



In response to

Attached Files posted by Paulo on Tue, 9 Jun 2009