Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email checker 1

Status
Not open for further replies.

roswell

Programmer
Mar 18, 2001
26
PH
Does anybody knows how to program in Vb an email checker? Where a popup will be shown stating if the user has an email without opening its email site like Microsoft outlook.
 
Hi Rosewell,
The best example is there in MSDN Samples folder, where the mapi control application is programmed.
Just execute it, you change according to your needs.

Regards
John Philip
 
Thanks for your answers but is there a way where I don't need to use any controls like API?
 
Yes, maybe there is, you can try to use the mapi api...

us/mapi/html/_mapi1book_legal_information_2.asp?frame=true

AND/OR CDO

qu=CDO&boolean=ALL&nq=NEW&so=RECCNT&ig=01&ig=02&ig=03&ig=04&
ig=05&ig=06&ig=07&ig=08&ig=09&ig=10&i=00&i=01&i=02&i=03&i=04
&i=05&i=06&i=07&i=08&i=09&siteid=us

Good Luck
 
Using mapi will still use a control. What I need is a way to alert me of my email like if I have a new mail in my Yahoo account without opening it in the Yahoo site. I think I need to use API but I can't find how. Anybody knows how?

Thanks.
 
No, you can quite happily use MAPI without a control. It does, after all, stand for Messaging API

CDO wraps MAPI functionality, and gives you mail objects - but still doesn't require a control.

Did you actually look at the references that vb5prgrmr posted?

 
Actually its planet-source-code.com and not planetsourcecode.com Feel free to ask Questions as well as give Comments after all this is what Forums are all about. Good Day!
 
Just to avoid confusion. The link to planet source code, as I wrote it, is correct. Click the link and see. Thanks and Good Luck!

zemp
 
Thanks for all your answers. I was able to create a program for checking email however it checks all the emails in the server. What I want is to alert the user the number of NEW mails not the total number of the mails. Does anybody knows how to do this? Thanks.
 
Check out the FetchUnreadOnly property if you are using MAPI
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top