try the if logic outside of the cfmail tag and always pass #email#
On Tue, 4 Sep 2001, Dan Sullivan wrote:
> I'm trying to pass e-mail addresses into my cfmail tag if a variable is
> defined.
> Here's a dummy sample, that I can't get to work.
>
>
> <CFSET email = "fun">
>
> <CFmail to="<CFIF ISDEFINED ("email")>[EMAIL PROTECTED]</CFIF>" from=
> sullivan <mailto:[EMAIL PROTECTED]> @hittite.com subject="Test" >
>
> test
>
> </CFMAIL>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
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