1 Reply Latest reply on Aug 23, 2007 6:48 AM by Dipanwita S

    want example of cfexchangeConnection

    flashbrain16
      hi,
      i use cfexchangeConnection tage for connected with exchange server. but it give me error to not able to connect with server using 'HTTP/HTTPS' protocols. so any one can give me exmaple for solver it.

      thanks in advance.
        • 1. Re: want example of cfexchangeConnection
          Dipanwita S Level 1
          Hi,

          Try this piece of sample code:
          <cfexchangeConnection
          action="open"
          username ="#yourusername#"
          password="#yourpassword#"
          server="#yourexchangeServerIP#"
          protocol="http or https"
          connection="testconn">
          <cfdump var="#testconn#">
          <cfexchangeConnection
          action="close"
          connection="testconn">

          Please note that if you want to connect to exchange over https, there are couple of other steps you need to follow before executing this code, which should be present in the documentation related to this tag. Please let me know if you need any other help.

          Thanks & Regards,
          Dips