Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CF and Exchange Server

Status
Not open for further replies.

DrStern

Programmer
Mar 28, 2003
53
US
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=&quot;CREATE&quot;
CLASS=&quot;MAPI.Session&quot;
NAME=&quot;objSession&quot;
TYPE=&quot;COM&quot;>

<cfset User = &quot;myLogin&quot;>
<cfset Pw = &quot;myPass&quot;>
<cfset Profile = &quot;myServer&quot; & chr(10) & &quot;login@myServer.com&quot;>

<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=&quot;CREATE&quot;
23 : CLASS=&quot;MAPI.Session&quot;
24 : NAME=&quot;objSession&quot;
25 : TYPE=&quot;COM&quot;>


----------------------------------------------------------------

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




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top