Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: How to retrieve the list of emails
| Subject: | Re: How to retrieve the list of emails |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Sat, 3 Mar 2007 23:15:49 |
"dpap" <dpap@softwaypro.gr> wrote in message
news:45e9ec50@newsgroups.borland.com...
> how can i retrieve the list of emails from the POP3
> server without the attachement
Use TIdPOP3.RetrieveHeader() instead of TIdPOP3.Retrieve()
> I need this because i want to know if i want or not to receive the
> attachment (some of them have big size).
There is no way in the POP3 protocol to detect wheter a message has an
attachment or not. Looking at the headers alone is not enough. You
have to actually downloafing the full message in order to check its
contents.
Gambit.
none