On Monday 09 Jul 2007, K Simanonok wrote:
I am trying to get CF code to run inside a CFMAIL tag where the code
is called by a CFINCLUDE. There are plenty of historical examples
here showing how people have done it in the past, but when I reproduce
their code all that gets emailed is the
Nope he meant the other way around..
b.cfm:
cfoutput#now()#/cfoutput
a.cfm:
cfmail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] subject=bar
cfinclude template=b.cfm
/cfmail
On 7/10/07, Tom Chiverton [EMAIL PROTECTED] wrote:
On Monday 09 Jul 2007, K Simanonok wrote:
I am trying to get CF
On Tuesday 10 Jul 2007, Andrew Scott wrote:
Nope he meant the other way around..
Difficult to tell without his code, really.
Either should work though, right ?
--
Tom Chiverton
Helping to revolutionarily conquer second-generation architectures
on: http://thefalken.livejournal.com
Am not sure about an include inside the cfmail, never done it. But theory
says it should, but practical who knows.
I have always done
cfsavecontent variable=test
include template=include.cfm/
/cfsavecontent
But as he said Coldfusion V5.0, that is way out of the question.
On 7/10/07, Tom
That's what I've always done - much cleaner. But - it does in fact work on V5,
so that's what I'd say is the solution. I've had funny things happen with
tag processing inside of CFMAIL.
-reed
Am not sure about an include inside the cfmail, never done it. But theory
says it should, but
I am trying to get CF code to run inside a CFMAIL tag where the code
is called by a CFINCLUDE. There are plenty of historical examples
here showing how people have done it in the past, but when I reproduce
their code all that gets emailed is the bare code, unexecuted. There
must be some
Does the included page parse correctly if you call it directly?
~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR
Do you have cfoutputs inside your cfinclude file? I don't think the
cfoutput that is inherent in cfmail cascades to the include.
I am trying to get CF code to run inside a CFMAIL tag where the code is
called by a CFINCLUDE. There are plenty of historical examples here showing
how people
I am trying to get CF code to run inside a CFMAIL tag where the code is called
by a CFINCLUDE. There are plenty of historical examples here showing how
people have done it in the past, but when I reproduce their code all that gets
emailed is the bare code, unexecuted. There must be some
Are you trying to send a HTML message? If yes, add this attribute cfmail
type=html
~|
ColdFusion 8 beta â Build next generation applications today.
Free beta download on Labs
Are you trying to send a HTML message? If yes, add this attribute cfmail
type=html
I have tried sending both HTML and plain text, and yes I have tried that cfmail
type=html attribute in addition to a lot of other things following some of
the historical examples on this forum, but nothing
Does anyone know a way to execute cftags later on, like a string without using
cf_evaluate? I am converting Lighthouse Pro to work in CFMX 6.1 and want to try
and use the same application for everything and there are a couple new
attributes in some cftags that are 7 only and throw an error when
template=code.cfm
Not very pretty though!
Ade
-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED]
Sent: 03 January 2006 15:12
To: CF-Talk
Subject: Executing code
Does anyone know a way to execute cftags later on, like a string without
using cf_evaluate? I am converting
13 matches
Mail list logo