22.08.2013 Views

ColdFusion Developer's Guide

ColdFusion Developer's Guide

ColdFusion Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Beta Beta Beta Beta Beta Beta Beta Beta Beta Beta<br />

<br />

<br />

<br />

<br />

sContact.FirstName=Form.firstName;<br />

sContact.Company=Form.company;<br />

sContact.LastName=Form.lastName;<br />

sContact.BusinessAddress.Street=Form.street;<br />

sContact.BusinessAddress.City=Form.city;<br />

sContact.BusinessAddress.State=Form.state;<br />

sContact.BusinessAddress.Country=Form.country;<br />

sContact.BusinessPhoneNumber=Form.businessPhone;<br />

sContact.MobilePhoneNumber=Form.cellPhone;<br />

sContact.BusinessFax=Form.fax;<br />

sContact.Email1=Form.email;<br />

<br />

<br />

<br />

<br />

<br />

Contact Added. UID is#theUID#<br />

<br />

<br />

For another example of creating items, which creates a task, see “Using transient connections”<br />

on page 1442.<br />

Getting Exchange items and attachments<br />

You can get calendar events, contacts, mail messages, and tasks from the Exchange server. You<br />

can also get attachments to these items.<br />

Getting an exchange item and its attachments can require multiple operations.<br />

■ To get mail that is not directly in the Inbox, you must specify the path from the root of<br />

the mailbox to the mail folder, and you can get items from only a single mail folder at a<br />

time. You can use the cfexchangeconnection tag to get the names, paths, and sizes of all<br />

folders in a mailbox, and can use the results to iterate over the folders.<br />

Getting Exchange items and attachments 1445

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!