This is a sample of code: <cfdirectory action="LIST" directory="C:\Inetpub\htdocs\infotech\encorepromo\admin\attach\" name="mydir">
<cfmail from="#email_from#" to="#email_to#" bcc="#email_bcc#" cc="#email_cc#" subject="#email_sujet#" server="smtp.mergitech.com"> <cfmailparam name="Reply-To" value="""Administrateur"" <[EMAIL PROTECTED]>"> Thank you for trying........ From:#email_from# To:#email_to# Cc:#email_cc# Bcc:#email_bcc# Date:#DateFormat(email_dateSent,"dd/mm/yyyy")# Subject: #email_sujet# Body: #email_body# <cfmailparam file="C:\Inetpub\htdocs\infotech\encorepromo\admin\attach\#mydir.name#"> </cfmail> I've been getting this message: Unable to attach file. Cannot attach 'C:\Inetpub\htdocs\infotech\encorepromo\admin\attach\.' to the mail message. The file does not exist. The error occurred while processing an element with a general identifier of (CFMAIL), occupying document position (8:1) to (8:130). The path in the CFMAILPARAM tag is supposed to be the actual address on the server. At least that's what I was told this afternoon by one of the techs. Any Ideas? Also, can I use something like ExpandPath("//attach/#whatever#") in a CFMAILPARAM tag? Thanks alot all, I work in a school with alot of kids around..........my brain is turning to fudge from all the noise!! Yves Arsenault Carrefour Infotech 5,promenade Acadian Charlottetown, IPE C1C 1M2 [EMAIL PROTECTED] (902)368-1895 ext.242 ICQ #117650823 ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists