11.01.2008

cfexchangeconnection - getting it to work

The error messages are a little generic so getting it to work can be tricky. The key is is to fill out all the information. Don't take the default on items. Especially tags like mailboxName and formBasedAuthentication.

3 comments:

Dan said...

Is there a trick to finding the mailbox name? Are you talking about a GUID?

Jeff McNaughton said...

I think it is assumed that you can ask the exchange administrator. But when I ask, he didn't know. I think we looked inside the administration tools and decided it was the part you use as the address. For example, my mail was firstname.lastname@exchange.com

so I used the following:
< cfexchangeConnection
action="open"
connection="testconn1"
server="mail.exchange.com"
username="myusername"
password="mypassword"
mailboxname="firstname.lastname"
protocol="https"
formbasedauthentication="true" >

Good luck!

Dan said...

Thanks. I'm finding that the mailbox permissions are going to be more challenging to deal with than the actual Coldfusion code, but I'm making progress. It's a great feature once the details are ironed out. :-)