469,622 Members | 2,114 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,622 developers. It's quick & easy.

Checking Exchange server for new mail

Hey experts,

First let me say I know almost nothing about Exchange, so if I say incorrect
things about it, forgive me ;)

What I need to do is, connect to the local Exchange server and monitor all
incoming email. So preferably an event is raised when an email enters the
queue.
Is this possible? I've downloaded the Exchange 2000 SDK, but to be honest, I
couldn't find any good samples there. Is there a tutorial somewhere on how
to do this? Can someone give me a basic code sample of connecting and
listing the mails on the server?

Thanks in advance,

Razzie
Nov 16 '05 #1
4 5018
This would be a good question to ask in the
microsoft.public.exchange2000.development newsgroup.

Cheers,
John Wadie

Nov 16 '05 #2
This is harder than it sounds, and harder than it should be.

If you are on a client where Outlook is installed, you can use the Outlook
SDK to hook in to the Outlook API. Then, this isn't too bad.

If you are on a server, or on a client where Outlook is not installed, you
can use EMAPI or you can use WebDAV.

WebDAV uses less resources, but it's hard as heck to get any documentation
on it. I have code that does this using WebDAV (not fully debugged yet,
unfortunately).

Can you get the e-mail to come to a POP3 server instead of Exchange? If
so, there are readily available commercial components that will work. There
may be a commercial component available for the Exchange reading ability as
well... not sure.

Good luck,
---- Nick

"Razzie" <ra****@quicknet.nl> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hey experts,

First let me say I know almost nothing about Exchange, so if I say incorrect things about it, forgive me ;)

What I need to do is, connect to the local Exchange server and monitor all
incoming email. So preferably an event is raised when an email enters the
queue.
Is this possible? I've downloaded the Exchange 2000 SDK, but to be honest, I couldn't find any good samples there. Is there a tutorial somewhere on how
to do this? Can someone give me a basic code sample of connecting and
listing the mails on the server?

Thanks in advance,

Razzie

Nov 16 '05 #3
Hmmm my preference is to write it for a server, although hooking in to the
Outlook API is not impossible. I will look into this.
I will also google for EMAPI, since I didn't know of it.

I just thought it was easy to connect to an Exchange server and read an
email. Guess I was wrong :)

Thanks for your help!
Razzie

"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:bFdZc.5805$3l3.4357@attbi_s03...
This is harder than it sounds, and harder than it should be.

If you are on a client where Outlook is installed, you can use the Outlook
SDK to hook in to the Outlook API. Then, this isn't too bad.

If you are on a server, or on a client where Outlook is not installed, you
can use EMAPI or you can use WebDAV.

WebDAV uses less resources, but it's hard as heck to get any documentation
on it. I have code that does this using WebDAV (not fully debugged yet,
unfortunately).

Can you get the e-mail to come to a POP3 server instead of Exchange? If
so, there are readily available commercial components that will work.
There
may be a commercial component available for the Exchange reading ability
as
well... not sure.

Good luck,
---- Nick

"Razzie" <ra****@quicknet.nl> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hey experts,

First let me say I know almost nothing about Exchange, so if I say

incorrect
things about it, forgive me ;)

What I need to do is, connect to the local Exchange server and monitor
all
incoming email. So preferably an event is raised when an email enters the
queue.
Is this possible? I've downloaded the Exchange 2000 SDK, but to be
honest,

I
couldn't find any good samples there. Is there a tutorial somewhere on
how
to do this? Can someone give me a basic code sample of connecting and
listing the mails on the server?

Thanks in advance,

Razzie


Nov 16 '05 #4
I posted it there too. Thanks for the tip.

"John Wadie" <jo********@hotmail.com> wrote in message
news:BL**************@cpmsftngxa10.phx.gbl...
This would be a good question to ask in the
microsoft.public.exchange2000.development newsgroup.

Cheers,
John Wadie

Nov 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by StinkFinger | last post: by
4 posts views Thread by Norton | last post: by
8 posts views Thread by Michel Posseth [MCP] | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.