Take the code that sends the e-mail in an external file, and use the CFIF code to determine which code to include using CFINCLUDE. CF 4.0 shouldn't puke on the CFMAILPARAM tag isn't in a file that's not included in its execution stream.
-Justin Scott, Lead Developer Sceiron Internet Services, Inc. http://www.sceiron.com ----- Original Message ----- From: "Voris, Jim" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, October 25, 2001 8:16 AM Subject: How to Handle Multiple CF Versions? > Say I have an application that will be deployed in mulitple environments, > some which are CF 4.5, and some which are CF 4.0. > > In in the CF 4.5 environments, I want to use the <cfmailparam> tag. Is > there anyway to prevent CF 4.0 from trying to parse this? Cftry doesn't > work. Testing for version in cfif doesn't work. > > Any help would be appreciated. > > Jim Voris > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

