New mail notification

I want to write a vb program that will go to a subroutine when a new mail come to my inbox.

How can I achieve this.
Thank you for your interest.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi, itacan.
I have writed some email archive application that is works with access database.
If you want I can send you. Post your email address.
In this question : 

I had the same mail archive question but it is 200 points :))


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
If you visit, go to their downloads section, and under network, there is a download that has a test routine that sends back a boleen on whether there is or there isn't mail. It is very easy to use. I have used it before. Check it out.
Hi, bond007.
It is not good idea to mark your solution as answer,
you should mark it as comments. If itacan will find your solution the best
solution for this situation , itacan will ask you to mark it as answer
or itacan can accept your solution as answer.

itacanAuthor Commented:
Thank you bond007 but,
I inspected the link that you direct me but there is no usuable code about exchange server. Only MMSound codes.
Thank you anyway...
itacanAuthor Commented:
Thank you RRR,
I can do something with your code.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.