Uploading from a form ... then I query the DB and use cfmail like this:

<cfmail from="[EMAIL PROTECTED]" subject="Photos for Quote
No. #quote_id#" to="[EMAIL PROTECTED] type="html"
query="mail_info" group="client_id">

<cfmailparam
file="D:\webserver\domain_name.com\www\images\photos\from_customers\#fil
ename#" type="image/*">
</cfmail>

-----Original Message-----
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 11, 2005 11:15 AM
To: CF-Talk
Subject: RE: getting rid of spaces in file names

Where is the file name coming from?  Are you pulling the file from your
file system using cffile, or are people uploading it from a form, or...?

> -----Original Message-----
> From: Tim Laureska [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, October 11, 2005 8:41 AM
> To: CF-Talk
> Subject: getting rid of spaces in file names
> 
> Had not run been exposed to this problem before... using 
> CFMail to send
> jpg files to designated recipients (and CFILE to record the file
> names)... if there's a space in the file name like "my 
> photo.jpg", that
> jpg is not sent via cmail
> 
> .... can someone give me a quick tip on how to deal with this issue...
> not sure if eliminating that space or spaces in a filename is 
> the way to
> go (or how to do that)
> 
> Tim
> 
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220707
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to