Automating Exchange login

S

Scott S.

I am writing a small application, which will assign Outlook tasks to users.
The organization is running Exchange 2003 is using Outlook 2K, XP, possibly
2003, the issue I am having is how do I programmatically logon to Exchange.
I am familiar with the logon method when creating an Outlook instance
verifying profile information and password if any, but I cannot seem to find
any information about login into the exchange server. As of now there are
only two ways, I have accomplished this.



1) Using NT Authentication, which means they will have to create a user with
the same name and password as the Exchange login. This is not very robust,
and I am looking for something better.



2) Supply the username, Domain, and password every time the application
fires. ( Not possible.)



I am open to any ideas. Currently, I am trying various methods, VBA,
VBScrpt, VB6 Application, VB.Net application, I haven't had much luck so
any ideas would be greatly appreciated.



Sincerely,

Scott Sommerfeldt
 
D

Dmitry Streblechenko \(MVP\)

Outlook (unlike CDO 1.21) will not let you connect directly to an arbitrary
Exchange mailbox using a dynamic profile.
Try to use Namespace.GetSharedDefaultFolder - this way you will able to
create tasks directly in other users' mailboxes.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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