>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
>
>>

Hi Bob, thanks for the reply.

Here is what I have in orderform_west1.cfm to handle the upload:

<form name="form1" method="post" action="contactmailer.cfm">
<label for="file">Upload file:</label> 
<input type="file" name="attachFile" id="attachFile"/>
<input type="submit" name="Submit" value="Submit" />
</form>

And here is what I have in contactmailer.cfm:

<cfmail 
type="HTML"
to="[EMAIL PROTECTED]" 
from="#form.email#" 
subject="This is a test"
server="vccmail.valenciacc.edu">
<cfmailparam file="#form.attachFile#">
</cfmail>

What do you think is the best way of getting the file from the user's computer 
up to the server?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2911
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to