Use #CFFILE.ServerFile# to get the name of the file.
-Original Message-
From: Adams, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 9:06 AM
To: CF-Talk
Subject: CFMAIL message resent, completed this time.
Try using CFFile to Upload the file to a temp directory, then attach the
file to the email, send the email then delete the file...
HTH
-Original Message-
From: Adams, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 15:06
To: CF-Talk
Subject: CFMAIL message
Are you uploading the file?
cfif form.file IS NOT
cffile action=UPLOAD
destination=D:\Webserver\InetPub\wwwRoot\TEMPDOCS\
filefield=form.file
nameconflict=OVERWRITE
cfmail to=[EMAIL PROTECTED] from=[EMAIL
How are you referencing the uploaded file? I think you have to refer to it as
#cffile.serveFile#
Regards,
--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com - 631-737-4668 x101
*** Please vote for iMS here:
.
-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 15:14
To: CF-Talk
Subject: Re: CFMAIL message resent, completed this time.
Are you uploading the file?
cfif form.file IS NOT
cffile action=UPLOAD
destination
In the future, some code would make it easier to troubleshoot the specific
problem.
That said, I'm not sure what you're doing wrong, but the general order of
your code should be something to the effect of:
1) Use CFFILE to accept the uploaded file, as in:
CFFILE ACTION=Upload
.
-Original Message-
From: Candace Cottrell [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 15:14
To: CF-Talk
Subject: Re: CFMAIL message resent, completed this time.
Are you uploading the file?
cfif form.file IS NOT
cffile action=UPLOAD
: Candace Cottrell [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 15:57
To: CF-Talk
Subject: RE: CFMAIL message resent, completed this time.
Right, but you still have to upload it and then delete it. See my
example below :)
Candace K. Cottrell, Web Developer
The Children's Medical Center
One
8 matches
Mail list logo