This content has been marked as final. Show 5 replies
It started to work for me, when I added formBasedAuthenticationURL option to cfexchangeconnection tag.
Our Exchange 2007 server requires HTTPS and uses Forms Based Authentication. Using the basic example, I was receiving a 440 (login timeout) error. To solve it, I imported the SSL cert into the JRE truststore, enabled the "HTTPS" protocol, and then specified the formBasedAuthenticationURL attribute of the cfexchangeconnection tag. Now it works correctly.
Thanks for posting the above, guys. I am trying to do the same, and emulated Dan's code above. I am getting this:
Connection to [server] is refused.
Ensure that the Exchange server is running and that it supports the protocol (HTTP or HTTPS) you have specified for accessing it.
The Exchange server is running, and is updating my mailbox as viewed in Outlook. Any more ideas most welcome.
Keyman: Have you verified that the WebDAV service is up and running on the server you are connecting to?
Note that my example assumes the following:
1. IIS and WebDAV are enabled on the target Exchange server. (This has been documented elsewhere)
2. The username and password you're using has the appropriate permissions for a WebDAV connection. (I'm not the Exchange admin, so I'm not sure what they are, but I think the account needs to be allowed to connect to OWA. - Please correct me if I am wrong.)
Optional: (don't use if you don't have to)
- IF HTTPS is required, use the appropriate argument.
- IF Forms Based Authentication is on in Exchange 2007 (as was my case), you'll have to work around it using the formBasedAuthenticationURL argument.
I hope that helps clarify my prior message.
Thank you, Dan, it did help.
WebDav is a separate product which might or might not be installed at the server end (wasn't in my case). However OWA was enabled, and that was the ticket for me. I asked the mail administrator to turn on OWA for the particular mailbox I wanted to read (and already had credentials for). After that it was quite straightforward, and I was able to read the mailbox immediately, using just the minimal statements outlined above. This link is also useful:
The name of the server was just the https url (without "https://"). I did not need the formauthentication parameters.
Of course, I did include the "protocol" clause.
This is a great feature in CF8.