are you sure you've got the " " around the assignment? try using single quotes (apostrophes) instead, like that's going to make any difference.
never seen this error before. odd. what version of CF are you on? Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Lovelock, Richard J" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <richard.lovelock cc: @cgey.com> Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk 08/10/2003 10:04 Please respond to dev mornin.. no, session.filelocation doesn't change during process tried using the <cfmailparam file="#file.serverdirectory#\#file.serverfile#"> on the sending page but it didn't like it because the upload was done on the previous page so it didn't have the file info. then tried setting the session variable = "#file.serverdirectory#\#file.serverfile#" rather than my original code but got a new message this time saying: ---------------------------------------------------------------------------- -- Error Diagnostic Information An error occurred while evaluating the expression: session.Filelocation = #file.serverdirectory#\#file.serverfile# Error near line 74, column 11. ------- Cannot convert paul.doc to integer. ---------------------------------------------------------------------------- -- I also tried outputting the path of the file using the session variable in the cfmail tag using the original code (without the attachment) and the mail arrived and the path variable to the desired file to be attached was perfect :o/ running out of ideas now (not that they were originally abundant) _______________________________________________________ * Regards, Richard Lovelock Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 16:30 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk Does the value of Session.filelocation ever change during the process? Try using: <cfmailparam file="#file.serverdirectory#\#file.serverfile#"> Also, try outputting the value of the filelocation in the email without actually attaching the file. Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Lovelock, Richard J" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <richard.lovelock cc: @cgey.com> Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk 07/10/2003 16:16 Please respond to dev yes session file location contains the full path to the folder where the uploaded file is and has the correct file name (this has spaces - could that be a problem??) just tried the mimeattach incstead and got the same error and the same message in the mail.log file :o/ i have also just tried taking off the mailparam completely (i.e. not sending attachment) - email goes ok and no error - so i can browse to file to upload, submit, next page uploads file successfully, but last page creates error if the cfmailparam tag is used to attach uploaded file but if cfmailparam is removed - the email gets sent successfully with no attachment (i.e. not what is wanted) _______________________________________________________ * Regards, Richard Lovelock Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 15:59 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk It looks from the error as if the email is trying to attach itself! Session.filelocation just looks something like: C:\Inetpub\wwwroot\files\filename.doc ? Have you tried replacing the CFMailParam with just using the mimeattach attribute on CFMail? Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Lovelock, Richard J" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <richard.lovelock cc: @cgey.com> Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk 07/10/2003 15:48 Please respond to dev session variable is used on the subsequent page and i have outputted this to the screen and is perfect as far as i can see just moved the unsent mail back in to spool and it failed to send again. located the error message in mail.log and it says the following: "Error", "4580", "10/07/03","15:32:49",, "Failed to send the spooled mail file, C:\CFusion\Mail\spool\FCC1.cfmail. SMTP server replied ""Cannot attach 'C:\CFusion\Mail\spool\FCC1.cfmail' to the mail message. The file does not exist." " Moved file to C:\CFusion\Mail\undelivr\FCC2.cfmail." _______________________________________________________ * Regards, Richard Lovelock Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 15:43 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk Change #cffile.serverdirectory#&'\'&#cffile.serverfile# to #file.serverdirectory#&'\'&#file.serverfile#. Also, assuming that the Session.FileLocation is only being used on this page (is it?), there's no advantage in storing this information in the Session scope; just use a local variable instead. otherwise, the cfmailparam is fine afaik. Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Lovelock, Richard J" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <richard.lovelock cc: @cgey.com> Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk 07/10/2003 15:37 Please respond to dev yeah had a look through the mail logs the thing is one of the mails the generated the error did eventually get sent yesterday but the attachment came through with the name and extension changed (this was the subject of an earlier mail on the list - not sure if it is related to this) one of the error messages relates to timing out on the upload but that is done on a separate page than the one creating the error and the doc (468KB) uploads OK everytime regardless of the message. 1. user browses for file on local machine using form input, type = file. 2. next page does the upload and creates session variable holding the path to file: <cflock name="FileUploadLock" type="EXCLUSIVE" timeout="30"> <!--- Need to get the file onto the server to send! ---> <cffile action="UPLOAD" filefield="attachment" destination="xxxxxxxxxx" nameconflict="MAKEUNIQUE"> <!--- Put this value into a variable ---> <cfset session.Filelocation = #cffile.serverdirectory#&'\'&#cffile.serverfile#> </cflock> 3. Last page does the send using <cfmailparam> to find file. <cflock timeout="30" throwontimeout="No" name="SendEmailLock" type="EXCLUSIVE"> <cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]" subject="#FORM.Subject#"> <cfmailparam file="#session.Filelocation#"> #FORM.message# </cfmail> </cflock> However I can't find anything about <cfmailparam> in CF Ref manuals (this code was written by someone else). Considering using the mimeattach attribute of CFMAIL tag? _______________________________________________________ * Regards, Richard Lovelock Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 15:28 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk so all the messages with attachments are being dumped in the undelvr folder? check your mail.log file (c:\cfusion\logs\mail.log) and see what the error messages are there, although it might just repeat the one you've already mentioned. what's the code you've got for uploading and attaching the document? Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Lovelock, Richard J" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <richard.lovelock cc: @cgey.com> Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk 07/10/2003 15:21 Please respond to dev mail/spool is completely empty mail/log is completely empty mail/undelivered has many emails including one from earlier today when i tried to recreate the error (successfully) the error message doesn't seem to have a number I can send a message with no atachment fine - I have. when i add the attachment - I get this error and the message doesn't arrive - even though the document uploads to the server sucessfully :o/ _______________________________________________________ * Regards, Richard Lovelock Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 15:11 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk outgoing mail goes to something like C:\Cfusion\Mail\Spool\ before being passed to the mailserver. Take a look in your spool and see if it's full of messages. Do you have the error number? Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Lovelock, Richard J" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <richard.lovelock cc: @cgey.com> Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk 07/10/2003 15:08 Please respond to dev do you know where these are saved by default? i have looked in the x:/cfusion/mail folder and subfolders _______________________________________________________ * Regards, Richard Lovelock Westminster City Council - Web Support Cap Gemini Ernst & Young Southbank 95 Wandsworth Road London SW8 2HG ( 0870 906 7482 _______________________________________________________ -----Original Message----- From: Snake Hollywood [mailto:[EMAIL PROTECTED] Sent: 07 October 2003 14:19 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] error diagnostic information unable to write mail message to disk Your hard drive isn't full is it ? ColdFusion does have permission to write to the the mail folder? > -----Original Message----- > From: Lovelock, Richard J [mailto:[EMAIL PROTECTED] > Sent: 07 October 2003 14:00 > To: 'cflist' > Subject: [ cf-dev ] error diagnostic information unable to > write mail message to disk > > > Hi... > > has anyone come across the above message when trying to send > mail via <CFMAIL> and can help me find the cause/solve the problem? > > I have search web and MM forums and can find nothing > > _______________________ > ________________________________<?xml:namespace > prefix = o ns = "urn:schemas-microsoft-com:office:office" /> > > * Regards, > Richard Lovelock > > Westminster City Council - Web Support > Cap Gemini Ernst & Young > Southbank > 95 Wandsworth Road > London > SW8 2HG > > ( 0870 906 7482 > > _______________________________________________________ > > > > > ************************************************************** > ****************************** > " This message contains information that may be privileged or > confidential and > is the property of the Cap Gemini Ernst & Young Group. It is > intended only for > the person to whom it is addressed. If you are not the > intended recipient, you > are not authorized to read, print, retain, copy, disseminate, > distribute, or use > this message or any part thereof. If you receive this message > in error, please > notify the sender immediately and delete all copies of this message ". > ************************************************************** > ****************************** > > -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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] -- ** 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]
