Is there no way to process that code? I've heard of some custom tags that
might do something similar, or is this just impossible? I'd like to be able
to fully customize the email with user info without hardcoding it.
Joshua Miller
Web Development
Eagle Technologies Group, Inc.
Business Solutions for the Next Generation
www.eagletgi.com <http://www.eagletgi.com>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Owens, Howard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 11:54 AM
To: CF-Talk
Subject: RE: Customizing Email with CFMail
CF doesn't process any commands sent through a form submission. Probably
for security reasons, I would think. So your #name# is just plain text as
far CF is concerned.
You need to code this into your <cfmail> tag. Something like
<cfmail ...>
Dear #query.name#:
#form.textarea#
</cfmail>
=========================
Howard Owens
Web Producer
InsideVC.com
mailto:[EMAIL PROTECTED]
=========================
> -----Original Message-----
> From: Joshua Miller [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 07, 2000 7:38 AM
> To: CF-Talk
> Subject: Customizing Email with CFMail
>
> I'm making a small bulk mail application so we can notify registered users
> of various updates to our site, etc. I have a small form with a subject
> line
> and a body block (textarea) and I want to be able to enter #name# to refer
> to the user by name. The CFMAIL loops over a database where #name# exists
> as
> a field. If I enter #name# into the <cfmail> block it works fine, but when
> I
> pass #name# through the text area it sends the actual text '#name#' with
> the
> email ...
>
> What am I doing wrong? Is there a way to do this? Do I have to URLEncode
> the
> #name# being passed?
>
> Thanks in advance.
>
> Joshua Miller
> Web Development
> Eagle Technologies Group, Inc.
> Business Solutions for the Next Generation
> www.eagletgi.com
> [EMAIL PROTECTED]
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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