VB 2005 and Exchange Server

T

tclancey

Hi.

I need to write an app that will poll a mailbox on an exchange server, check
for certain words in the mail and repond in several different ways.

I'm fine with checking text, creating emails to send and all that, I just
can't find any reference to connecting to an Exchange Server (2003) with VB
Net.

I've found some old VB6 code that requires a connection to Outlook, but this
isn't what I need.

I must connect directly to Exchange Server.

Has anyone got any ideas?
Cheers,
Tull.
 
J

jayeldee

Hi.

I need to write an app that will poll a mailbox on an exchange server, check
for certain words in the mail and repond in several different ways.

I'm fine with checking text, creating emails to send and all that, I just
can't find any reference to connecting to an Exchange Server (2003) with VB
Net.

I've found some old VB6 code that requires a connection to Outlook, but this
isn't what I need.

I must connect directly to Exchange Server.

Has anyone got any ideas?
Cheers,
Tull.

I've used Dmitry Streblechenko's Redemption library in the past. It's
compatible with VS 2005 and replaces CDO 1.21 if you use his RDO
objects. You can download a developer version for free but if you
plan to use it in a commercial app then you'd have to pay for a
distributable version.
 
T

tclancey

This may well work, but it looks as though it has to connect to Outlook. I
can't go that way, the server where Exchange is installed cannot have
outlook installed.

Cheers,
Tull.
 
J

jayeldee

This may well work, but it looks as though it has to connect to Outlook. I
can't go that way, the server where Exchange is installed cannot have
outlook installed.

Good point. I haven't actually tried my code on a machine without
Outlook installed but I don't think it would matter if you use the
LogonExchangeMailbox function in the RDOSession object. The other
Logon method uses the Profile objects that install with Outlook to log
in which could be a problem. If I get a chance later I'll try it out
and let you know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top