Getting Office365 working with CFEXCHANGECONNECTION

I could not find a lot of useful information about opening a connection CFEXCHANGEto Office365. After some games, I got him to work. I am posting it here for informational purposes, as it may be useful to others.

+4
source share
1 answer

Due to the need to specify serverversion="2010"this will only work with CF10.

To establish a connection, use the following code:

<cfexchangeConnection 
    action="open" 
    username ="#emailAddressForOffice365User#" 
    password="#passwordForOffice365User#"
    server="outlook.office365.com" 
    protocol="https"
    connection="myExchangeConnection"
    serverversion="2010">

I had an Office365 account with which I was connected, the parameters that were set when it was created (that is, I did not need to change the account settings for this).

+4
source

Source: https://habr.com/ru/post/1533517/


All Articles