Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 666

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Flex and AIR Integration in ColdFusion
Alert.show("Mail was delivered Successfully");
}
public function handleError(event:ColdFusionServiceFaultEvent):void
{
Alert.show("Failure"+ event.toString());
}
]]>
</mx:Script>
<mx:Panel width="100%" height="100%">
<local:CFCredential id="cred" />
<mx:ControlBar>
<mx:Spacer width="100%"/>
<mx:HBox>
<mx:Button label="Send Mail" id="sendbutton"/>
<mx:Button label="Attachment" id="attachbutton"/>
</mx:HBox>
</mx:ControlBar>
<mx:VBox width="100%" height="100%">
<mx:HBox width="100%">
<mx:Text text="From" width="100" />
<mx:TextInput width="100%" id="from"/>
</mx:HBox>
<mx:HBox width="100%">
<mx:Text text="To" width="100"/>
<mx:TextInput width="100%" id="too"/>
</mx:HBox>
<mx:HBox width="100%">
<mx:Text text="CC" width="100"/>
<mx:TextInput width="100%" id="cc"/>
</mx:HBox>
<mx:HBox width="100%">
<mx:Text text="Bcc" width="100"/>
<mx:TextInput width="100%" id="bcc"/>
</mx:HBox >
<mx:HBox width="100%">
<mx:Text text="Subject" width="100"/>
<mx:TextInput width="100%" id="subject"/>
</mx:HBox>
<mx:HBox width="100%">
<mx:Text text="Attachments" width="100"/>
<mx:TextInput width="100%" id="attachList"
backgroundDisabledColor="white"/>
</mx:HBox>
<mx:TextArea width="100%" height="100%" id="mailbody"/>
</mx:VBox>
</mx:Panel>
<!--Provide your CF server credentials here-->
<cf:Config id="conf"
enabled="false"
Last updated 1/20/2012
661

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents