RE: CFMAIL inserting e-mail addresses, CFIF isdefined ...

2001-09-04 Thread Kevin Langevin
Well, first of all, if email isn't defined, your CFMAIL tag will blow up. Also, your from attribute is messy. You need to put some quotes around all that, or it'll never work. The angle brackets are probably causing a problem as well. The tag thinks you're ending the tag at the at the end of

RE: CFMAIL inserting e-mail addresses, CFIF isdefined ...

2001-09-04 Thread Chris Martinez
Try setting it up outside the mail tag. Ex: CFIF IsDefined(Email) CFSET Email = [EMAIL PROTECTED] /CFIF CFmail to=#Email# from=sullivan mailto:[EMAIL PROTECTED] @hittite.com subject=Test Note: This will fail if Email is not defined. Are you taking this into account? -Original

Re: CFMAIL inserting e-mail addresses, CFIF isdefined ...

2001-09-04 Thread Alex
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

RE: RE: CFMAIL inserting e-mail addresses, CFIF isdefined ...

2001-09-04 Thread Kwang Suh
Try this instead: cfif isDefined(email) cfmail from=mailto:[EMAIL PROTECTED]; to=mailto:[EMAIL PROTECTED]; subject=test test /cfmail /cfif CF does not allow you to embed tags like what you have there. Also, the from attribute is required, so even you could embed tags, your code would still