that is, use it in the cfmail tag as an attribute.
...tony
tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337
-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 11:09 AM
To: CF-Talk
Subject: RE: Deleting file after e-mailing it
spoolenable = "no"
:) that is if u are using cfmx?
...tony
tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337
-----Original Message-----
From: Scott Brady [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 11:06 AM
To: CF-Talk
Subject: Deleting file after e-mailing it
I'm working on a part of an application where I need to create a temporary
Excel file and e-mail it to a specific user.
I've got that working, but since these are temporary files, I obviously
don't want them cluttering up the server and taking up space. I thought I
could just delete the file after the <cfmail> tag, but it would appear that
CF doesn't embed the file in the mail until it's spooled. (I get a mail log
error that the attachment file doesn't exist. Commenting out the file
deletion allows the mail to be sent.)
I'm using <cfmailparam> to attach the file, rather than the mimeattach
attribute.
Aside from using a scheduled task to periodically run through and delete all
of the temporary files, is there another option I'm overlooking? (I'll do
the scheduled task if I have to, but changing any server setting is a
bureaucratic nightmare sometimes.)
Thanks.
Scott
---------------------------
Scott Brady
http://www.scottbrady.net/
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Deleting file after e-mailing it Scott Brady
- RE: Deleting file after e-mailing it Tony Weeg
- RE: Deleting file after e-mailing it Tony Weeg
- RE: Deleting file after e-mailing it Craig Dudley
- RE: Deleting file after e-mailing it Tony Weeg
- RE: Deleting file after e-mailing it Scott Brady
- RE: Deleting file after e-mailing it Stacy Young