You will have to already know the file path/name when you
reach the CFMAIL tag.

If you need the file name from the END user, you can setup a 
form and ask for the information prior to accessing the CFMAIL
tag on an action page persay.

This file then would be from the END Users machine not from the 
server.

Not sure where the File attachment needs to come from for your
application.

If the file is on the server, you can do a directory listing to the 
user and allow them to select the file within a form using a
selectbox,
checkbox or which ever form control you need. Then again on the action
page, server the form.required_file to the CFMAIL tag.



>>> [EMAIL PROTECTED] 11/05/02 09:37AM >>>
Ok, I will use CFFILE to load the file to a folder on my server. how do
I then in the CFMAIL tag look for the file I want to attach?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to