Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread Tom Chiverton
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread Andrew Scott
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread Tom Chiverton
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread Andrew Scott
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-10 Thread powell
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-07-09 Thread K Simanonok
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-06-07 Thread Richard Cooper
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-06-07 Thread Kris Jones
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

Executing Code in a CFINCLUDE within CFMAIL

2007-06-06 Thread K Simanonok
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-06-06 Thread Richard Cooper
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

Re: Executing Code in a CFINCLUDE within CFMAIL

2007-06-06 Thread K Simanonok
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

Executing code

2006-01-03 Thread Robert Everland III
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

RE: Executing code

2006-01-03 Thread Adrian Lynch
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