[thelist] CF: Email attachments on the fly
Seth Bienek
seth at sethbienek.com
Tue Aug 29 16:41:15 CDT 2000
Ho Ol,
Why not do a <cffile action="write">, then attach the new file in the
<cfmail>, then do a <cffile action="delete">?
Never done this, but I don't see any reason why it shouldn't work.
Seth
------------------------------------
Seth Bienek
Independent ColdFusion Developer
> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Oliver Lineham
> Sent: Tuesday, August 29, 2000 3:51 PM
> To: thelist at lists.evolt.org
> Subject: [thelist] CF: Email attachments on the fly
>
>
> Hi again,
>
> A day for questions.
>
> On a ColdFusion based site, I want to make an attachment to a
> message that
> is sent out by CFMAIL. I've looked at the docs and can see
> plenty of ways
> to attach a file that actually exists on the disk, but all I
> want to do is
> generate the attachment on the fly.
>
> The attachment actually contains a tab-delimited version of
> the data being
> sent in the body. You can see why generating it on the fly
> is much more
> preferable than generating a file, saving it to disk, and
> attaching that!
>
> I guess I could do it manually with CFMAILPARAM tag to set a
> MIME separator
> header, but .. there's gotta be a cooler way.
>
> Thanks,
>
> </ol>
>
> ____________________________________________________
> v i b e m e d i a http://www.vibe.co.nz/
> po box 10-492 wellington, new zealand
> phone +64 21 210-7845 oliver at lineham.co.nz
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>
>
More information about the thelist
mailing list