Re: Attached Files

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

"Paulo" <na…@server.com> wrote in message
news:MPG.24985d0dbf00df879896…@news.atozedsoftware.com...

> 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)

Replies

None

In response to

Attached Files posted by Paulo on Tue, 9 Jun 2009