Using Pop3 component to check for junk mail

Giganews Newsgroups
Subject: Using Pop3 component to check for junk mail
Posted by:  Joe Gabriele (SOR…@TOO.MUCH.SPAM)
Date: Sat, 17 Jul 2010

Hello,

I have a question regarding the Pop3 component.

I have a Hotmail account which I access using the Pop3  and Mail components.
Hotmail, however, also has a Junk folder in which it stores any messages
filtered by their spam algorithms. This Junk folder, I find, is only
accessible if I log into my Hotmail account with my web browser. My Indy
based application can't see it.

I know that the Connect and CheckMessages functions will let you know how
many messages, if any, you have in your Inbox. My questions is this: is
there a function or method in the Pop3 component that will check for mail in
the Junk folder. Thanks.

Regards...

Joe Gabriele

Replies