Using cfexchange tag with Hosted Messaging and Collaboration (HMC)

In the event you would like to connect ColdFusion and Exchange on HMC, you need to use the following connection string:

<cfexchangeconnection action="open" connection="myExchangeConnection"

server="HMCEXMBX01.hmc.safesecureweb.com"

username="user@domain.com"

password="password" /> 

 

What this tag does:

  • action="open" - this tells CF that it should begin an Exchange session
  • connection="myExchangeConnection" - this is just an easy name to use later in the template for things like cfexchangecalendar
  • server="HMCEXMBX01.hmc.safesecureweb.com" - this is the mailbox server, and has to be used. Note: webmail.myexchangeemial.com will not work for this
  • username="user@domain.com" - the user's full email address on HMC
  • password="password" - the user's HMC password