Yeah, I tried using that and I got this error:
MIMEATTACH
An invalid file name (C:\Documents and Settings\sxr\My
Documents\Generator.doc) was specified in the MIMEATTACH attribute. Please
verify that this file exists and that the Cold Fusion service has the
privileges required to access it.
I set up a page with a <input type="file" name="myAttachment"> tag so that
the user can browse for the file on their desktop, just like any other
attachment option, like the way hotmail does it. That's why I was trying to
go another route because this isn't working. This is how my form tag looks:
<cfform action="corebank_requests_process_030107new.cfm" method="post"
enctype="application/x-www-form-urlencoded">
>From: "Mark Warrick" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: how do i send an attachment?
>Date: Tue, 29 May 2001 18:43:59 -0700
>
>Why not just use CFMAIL and use the mimeattach attribute? For example:
>
><cfmail
>TO=""
>CC=""
>FROM=""
>SUBJECT=""
>MIMEATTACH="#uploadpath#\#serverfile#"
> >
>
>------------------------------------
>Mark Warrick - Fusioneers.com
>Email: [EMAIL PROTECTED]
>Phone: 714-547-5386
>http://www.fusioneers.com
>http://www.warrick.net
>====================================
>
> > -----Original Message-----
> > From: S R [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 29, 2001 3:43 PM
> > To: CF-Talk
> > Subject: how do i send an attachment?
> >
> >
> > What is the best way to allow someone to send an attachment
> > through a form?
> > I've tried the new tag <cfmailparam> and I'm getting an error
> > saying I have
> > mispelled the tag. I'm using cf 4.5.2 so I should be able to use this
>tag.
> >
> > Thanks
> >
> > Sal
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists