Has anybody had any experience in getting a user’s contact list data from an Exchange Server?
The code that I’m using is the one that comes with the Ben Forta’s book.
<CFOBJECT
ACTION="CREATE"
CLASS="MAPI.Session"
NAME="objSession"
TYPE="COM">
<cfset User = "myLogin">
<cfset Pw = "myPass">
<cfset Profile = "myServer" & chr(10) & "login@myServer.com">
<cfset objSession.Logon(User, Pw, False, True, 0, True, Profile)>
<cfset objSession.Logoff()>
And this is the error that I get…:
---------------------------------------------------------------------------------------------
The error occurred in
D:\Inetpub\ \etctest\OutlookExchange1.cfm: line 23
21 : <CFOBJECT
22 : ACTION="CREATE"
23 : CLASS="MAPI.Session"
24 : NAME="objSession"
25 : TYPE="COM">
----------------------------------------------------------------
Now, is there anything special that I should now about MAPI settings in the Exchange Server that I would be missing?
Thanks guys!!
Dr. Stern
The code that I’m using is the one that comes with the Ben Forta’s book.
<CFOBJECT
ACTION="CREATE"
CLASS="MAPI.Session"
NAME="objSession"
TYPE="COM">
<cfset User = "myLogin">
<cfset Pw = "myPass">
<cfset Profile = "myServer" & chr(10) & "login@myServer.com">
<cfset objSession.Logon(User, Pw, False, True, 0, True, Profile)>
<cfset objSession.Logoff()>
And this is the error that I get…:
---------------------------------------------------------------------------------------------
The error occurred in
D:\Inetpub\ \etctest\OutlookExchange1.cfm: line 23
21 : <CFOBJECT
22 : ACTION="CREATE"
23 : CLASS="MAPI.Session"
24 : NAME="objSession"
25 : TYPE="COM">
----------------------------------------------------------------
Now, is there anything special that I should now about MAPI settings in the Exchange Server that I would be missing?
Thanks guys!!
Dr. Stern