Hi Rick,
As you have probably discovered, you may be able to access your exchange box
using the POP3 protocol, depending on whether your organization has enabled
this kind of communication. If they have not, you will not be so lucky.
Your other options are: MAPI and WebDAV. MAPI is primarily a client
technology, so if you are accessing from a client machine (that is running
in the user's environment), then this is your best option.
If you are on a server, and you need to access the contents of a web folder,
you will need to use WebDAV. This is the same technology that Outlook Web
Access uses. If your server doesn't have OWA enabled for that particular
account, you won't be able to use WebDAV.
Note: while WebDAV may be appealing, there is nearly no documentation on
using it, and it has some difficulties that may catch you by surprise.
Microsoft has said that they may come out with a component (XSO) to make
this work better in the next version of Exchange, but we don't know when
this will appear.
Does this help?
--- Nick
"Rick Smit" <ri******@zonnet.nl> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Hi,
I need to write a Windows Service which checks (with a timer) e-mail in a
specific Exchange mailbox. Then if there is new email, download body, save
attachments. How can i do this with VB.NET or C#? Maybe somebody can post
some URL's or example code. I don't know how i can do such a thing.
Hope somebody can help me.
Kind regards,
Rick Smit