actually, loop over the fieldNames variable instead to avoid having the
list of fieldNames in the mail output:
cfset entry=
CFLOOP list=#form.fieldNames# index=field
cfset entry=entry#field#=#StructFind(form, field)#chr(13)chr(10)
/CFLOOP
cfmail ...
#entry#
/cfmail
Or you could just copy the sample CF_MailForm tag from the Advanced
ColdFusion 4.0 Application Development book (p. 123). Hey wait! All the
code examples are on the CD that comes with the book!
You do have Uncle Ben's book, don't you?
-Original Message-
From: Phoeun Pha [mailto:[EMAIL
Uncle Ben...HAHAHA
-Original Message-
From: Everett, Al [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 3:29 PM
To: CF-Talk
Subject: RE: Looking for mail tag - submit form emails contents without
al l the code...
Or you could just copy the sample CF_MailForm tag from
3 matches
Mail list logo