The file has to exist on the server before Coldfusion can attach it, how are you handling the upload portion of what you're trying to do? Some code would be helpful in trying to offer a solution.
Bob > -----Original Message----- > From: Will Peavy [mailto:[EMAIL PROTECTED] > Sent: Monday, July 16, 2007 4:54 PM > To: CF-Newbie > Subject: Attach a file to an email > > I have a Web form at > http://valenciacc.edu/wordprocessing/orderform_west1.cfm > > When the user clicks the submit button it sends an email containing the > information to the site's content manager. > > The text fields on the form work fine. > > But it has two problems: > > 1. The 'upload file' field near the bottom of the form isn't working. I > can't figure out how to get a file selected on a user's computer to be > submitted with the form. > > 2. If any of the checkboxes are left unchecked I get an 'element > undefined' error. > > Any help or ideas are appreciated. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2910 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
