Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: How to retrieve the list of emails

www.cryer.info
Managed Newsgroup Archive

Re: How to retrieve the list of emails

Subject:Re: How to retrieve the list of emails
Posted by:"dpap" (dp..@softwaypro.gr)
Date:Mon, 5 Mar 2007 09:35:06

>
> Why not check the mail size and download it only if the size is acceptable
> ?
>
I receive every day hundrends of spam mail that in most cases are
multiposted. So i wrote a program that deletes these messages from the
server. This achieved checking the sender/subject of all messages that
stored at the server.
Using "receive " i receive the whole message and sometimes it has
attachments.
As i read, the function  RetrieveMsgSize executes the POP3 LIST command,
returning only the size.
Is there a way to execute the LIST command to receive the rest information
of the message ?

thanks again

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive