Click to See Complete Forum and Search --> : Connecting to the MS Exchange via MAPI


PetrHa
April 29th, 1999, 02:17 AM
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

April 29th, 1999, 02:31 AM
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

PetrHa
April 29th, 1999, 03:09 AM
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