
1208
DEVELOPING
COLDFUSION 9 APPLICATIONS
Using External Resources
Las
t
upda
te
d 8/5/2010
To perform these actions, you use the following ColdFusion tags:
The following list describes a few of the activities you can do using ColdFusion with the Exchange server:
•
Build a customized Exchange web client interface.
•
View information about upcoming tasks.
•
Create mailing lists based on contact entries.
•
Automatically add tasks to users’ task lists based on new bug reports or customer contacts.
•
Schedule meetings and appointments.
•
Show and manage meeting attendee availability.
Managing connections to the Exchange server
To communicate with an Exchange server, establish a connection with the server. The connection can use the HTTP
protocol or the HTTPS protocol. By default, ColdFusion connects to the mailbox that belongs to the login user name,
but you can also connect to any mailbox whose owner has delegated access rights to the login user name. You can also
access the server by using a proxy host.
Note:
To establish any connection, the Exchange server must grant the login user Outlook web access. For information
on how to enable this access, see “
Enabling Outlook web access
” on page
1209.
Connections to the server can be persistent or transient:
•
A
persistent connection
lasts until you explicitly close it. Persistent connections let you use a single connection for
multiple tasks, which saves the processing overhead of opening and closing a separate connection for each
interaction with the Exchange server.
•
A
transient connection
lasts for the duration of the tag that interacts with the Exchange server. Transient
connections are a useful technique on ColdFusion pages where you only have to access the Exchange server for a
single tag; for example, where you only get a set of contacts.
Calendar events
create, get, get attachments, delete, delete attachments, modify, respond
Contacts
create, get, get attachments, delete, delete attachments, modify
Tasks
create, get, get attachments, delete, delete attachments, modify
Tag
Purpose
cfexchangeconnection
Opens and closes persistent connections between an application and the Exchange server.
Gets information about subfolders of the Inbox.
cfexchangecalendar
Creates, gets, and manages calendar events.
cfexchangecontact
Creates, gets, and manages contacts.
cfexchangemail
Gets and manages mail messages. Does not send mail.
cfmail
Sends mail to the exchange server.
cfexchangetask
Creates, gets, and manages tasks.
cfexchangefilter
Specifies the criteria to get specific items. Used only as a child of the
cfexchangecalendar
,
cfexchangecontact
,
cfexchangemail
, and
cfexchangetask
tags that specify the
get
action.
Item
Actions
Содержание COLDFUSION 9
Страница 1: ...Developing Applications ADOBE COLDFUSION 9...