Try using the cfmailparam tag instead of mimeattach.
At 11:03 2/20/2003 +0000, you wrote:
Hi, I ma setting up a form that uploads a CV then e-mails it and the
rest of the form details.
I have this:
<cffile action = "upload" fileField = "#request.fieldName#" destination
= "#GetTempDirectory()#" nameConflict = "MakeUnique">
<cfoutput>
#serverDirectory##serverfile#
</cfoutput>
<cfmail to="[EMAIL PROTECTED]" subject="New PRC Registrant"
from="[EMAIL PROTECTED]" type="html"
mimeattach="#serverDirectory##serverfile#" >
#request.mailcontent#
</cfmail>
when I output the server directory and file they do point to a file on
the server but I get the rather un-useful error:
10:55:57.057 - java.lang.NullPointerException - in D:\My Documents\My
Webs\prc\act_sendRegistration.cfm : line 232
can anyone help?
Thanks
Giles Roadnight
http://giles.roadnight.name
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
============================================
Phipps CF Development
Oxford, Oxfordshire.
Telephone: +44(0)7718 896696
http://www.phipps-cf.co.uk
============================================
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]