Connecting to the MS Exchange via MAPI
Hello,
I need write a theread, who's checking a folder in MS Exchange and when new message will come, I will process it. I must use MAPI, but I never try this COM object. Please, do you know any good samples about connecting on MS Exchange and checking mails?
No notify from MS Exchange needed!
Thank you very much for help.
Have nice day ;-)
Petr
Re: Connecting to the MS Exchange via MAPI
Hi!
If you are not too COM literate, then you might want to try using an Exchange Adgent. You can set it up so that your object gets called automatically when new items appear in a folder (much better than polling).
For details see Tom Rizzo's new book
Programming Microsoft Outlook and Microsoft Exchange
http://mspress.microsoft.com/prod/books/2364.htm
Cheers,
Paul
Re: Connecting to the MS Exchange via MAPI
Thank you, I found some good samples in MSDN; so I read some literature in MSDN before i wrote forum mail, but better way(for time) is try understand a sample. But, thank you again for respond.
Petr