PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET VB 2005 and Exchange Server

Reply

VB 2005 and Exchange Server

 
Thread Tools Rate Thread
Old 14-03-2007, 02:18 PM   #1
tclancey
Guest
 
Posts: n/a
Default VB 2005 and Exchange Server


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.


  Reply With Quote
Old 14-03-2007, 03:21 PM   #2
jayeldee
Guest
 
Posts: n/a
Default Re: VB 2005 and Exchange Server

On Mar 14, 8:18 am, "tclancey" <t...@idcodeware.co.uk> wrote:
> 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.


  Reply With Quote
Old 14-03-2007, 03:31 PM   #3
tclancey
Guest
 
Posts: n/a
Default Re: VB 2005 and Exchange Server

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.

"jayeldee" <jayeldee@gmail.com> wrote in message
news:1173885695.888633.84220@l77g2000hsb.googlegroups.com...
> On Mar 14, 8:18 am, "tclancey" <t...@idcodeware.co.uk> wrote:
>> 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.
>
>



  Reply With Quote
Old 14-03-2007, 03:52 PM   #4
jayeldee
Guest
 
Posts: n/a
Default Re: VB 2005 and Exchange Server

On Mar 14, 9:31 am, "tclancey" <t...@idcodeware.co.uk> wrote:
> 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.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off