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]
