View Single Post
  #3  
Old January 17th 06, 11:02 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 9
Default how to get Exchange server?

Hi Dmitry,

I managed to find another code snippet, tried it, and it worked!

However I don't entirely understand the logon parameters. I don't
specify a user profile, so what is it logging on as?

The code:

Set objSession = CreateObject("MAPI.Session")
objSession.Logon "", "", False, False, 0

Thx,

J.

Ads