cfexchangeconnection

Opens or closes a persistent connection to an Microsoft Exchange server.
You must have a persistent or temporary connection to use the cfexchangecalendar,
cfexchangecontact, cfexchangemail, and cfexchangetask tags to get or change
information on the Exchange server.

 <cfexchangeconnection action="open" connection="" server="" username="">

 cfexchangeconnection(action="open", connection="", server="", username="");

This tag requires Adobe ColdFusion. Not supported on Lucee, OpenBD, etc.

Attribute Reference for the cfexchangeconnection tag

action

Required: Yes
The action to take. Must be open or close. (required) Values:
  • open
  • close
  • getsubfolders

connection

Required: Yes
The name of the connection. You specify this ID when you close the connection
and in tags such as cfexchangemail. (required)

mailboxName

Required: No
The ID of the Exchange mailbox to use.
Specify this attribute to access a mailbox whose owner has delegated access
rights to the account specified in the username attribute. (optional)

password

Required: No
(open) The users password for accessing the Exchange server. (optional)

port

Required: No
The port on the server connect to, most commonly port 80. (optional)

protocol

Required: No
The protocol to use for the connection. Valid values are http and https. (optional) Values:
  • http
  • https

proxyHost

Required: No
The URL or IP address of the proxy host required for access to the network. (optional)

proxyPort

Required: No
The port on the proxy server to connect to, most commonly port 80. (optional)

server

Required: Yes
The IP address or URL of the server that is providing access to Exchange. (required)

username

Required: Yes
The Exchange user ID (required)

folder

Required: No
The forward slash (/) delimited path from the root of the mailbox to the folder for which to get subfolders.

recurse

Required: No
Default: NO
* true: get information on the immediate subfolders of the specified folder only.
* false: get information on all levels of subfolders of the specified folder. Values:
  • NO
  • YES

name

Required: No
The name of the ColdFusion query variable that contains information about the subfolders.

exchangeServerLanguage

Required: No
The language of the Exchange server. Default is English.

formBasedAuthentication

Required: No
A Boolean value that specifies whether to display a login form and use form based authentication when making the connection.


Fork me on GitHub