How about using CFFile to write the file (could be .txt .htm whatever),
before using <cfmail> as shown by Howie...
-----Original Message-----
From: Jones, Becky [mailto:[EMAIL PROTECTED]]
Sent: 06 March 2001 23:30
To: CF-Talk
Subject: RE: cfmail
but wouldnt the user that recieves the form need to have cf?
i want them to be able to open it like a word or text document.
but how would i get the cf variables to right to that doc?
-----Original Message-----
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 5:42 PM
To: CF-Talk
Subject: Re: cfmail
----- Original Message -----
From: "Jones, Becky" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 5:23 PM
Subject: cfmail
> is there a way to attach a cf template to an email with the cfmail tag?
Sure:
<cfmail ... mimeattach="sometemplate.cfm">
blah
</cfmail>
-OR-
<cfmail ...>
<CFMAILPARAM
FILE="sometemplate.cfm">
blah
</cfmail>
The first method can be used in any version of cf and allows for a single
attachment. The second method is for cf 4.5 and allows for multiple
attachments.
> and what exactly is a MIME attachment?
MIME means "Multipurpose Internet Mail Extensions " and is an encoding
method for mail attachments or special character sets. Traditionally,
emails can only contain 7-bit characters (although some mail servers support
8-bit). Using MIME allows for 8-bit binary attachments to be converted into
a 7-bit representation that can be decoded by the recipient.
HTH,
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!
> i have a form that a user fills out...and i want the info in that form to
go
> to an email address but i want the layout of the form to go also.
> thanks,
> bec.
>
>
> *************************************************
> This e-mail, including any attachments, is intended for the
> receipt and use by the intended addressee(s), and may contain
> confidential and privileged information. If you are not an intended
> recipient of this e-mail, you are hereby notified that any unauthorized
> use or distribution of this e-mail is strictly prohibited.
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists