You can do this by purchasing a COM control that implements the POP3 or IMAP
interface. There are a number to chose from (check 15seconds.com or other
sites).
If I remember right, the control will read the message headers and give you
some counts. One problem is if a user keeps gobs of messages in their main
mailbox, the control will take a substantial amount of time to read the
headers, since global counts aren't stored. We finally gave up trying to do
this, since we had several users with 6-10,000 old messages sitting in their
inbox. It would take 2-3 minutes to count the messages.
If you get something working, though, I'd love to get the code.
Dave
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 01, 2000 3:06 PM
> To: IMail_Forum
> Subject: [IMail Forum] Check for New Mail
>
> Hello,
> I am designing a site where a user can enter his/her login/password one
> time and every time the user comes to the page again, the page searches
> for the cookie, finds the login/password for the users e-mail and displays
> whether the user has new mail.
>
> I'm using ASP for the page. I was wondering if there is a way to do this.
> I can write the cookies and check them all day long, but how can I check
> for new mail without going to the web based mail pages. I want to stay on
> the main page of the site.
>
> Thanks for your help.
> Shay Luedeke
> Programmer/Analyst
> Everyone's Internet
> Phone 713.400.5400 x234
> Mobile 713.851.0793
> Fax 713.942.9332
> [EMAIL PROTECTED]
> www.ev1.net
>
winmail.dat