Had a moment and was wondering what I was doing!
I have been working through some CDO/Outlook automation - and all went (is going) well.
The Outlook piece of the project looks like this:
oOL=CREATEOBJECT('Outlook.Application')
oNS=oOL.GetNamespace("MAPI")
oNS.Logon
The other (non-Outlook logon) goes like this:
oSession=CREATEOBJECT('MAPI.Session')
oSession.Logon(lcProfileName,lcPassWord,llShowDialog) && MS Exchange Profile
Is the MAPI.Session object an Outlook server or an Exchange server - or does it
blend Outlook and Exchange?
Imagination is more important than knowledge