Did you put the CFMAILPARAM inside of the CFMAIL tag, right after the
message?

tom

----- Original Message -----
From: "Les Mizzell" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, October 23, 2000 7:50 PM
Subject: CFMAILPARAM ?


> Setting up a simple if statement to attach a file to an email...
>
> Doing it like...
>
> <CFIF #participation# EQ "2">
> <CFMAILPARAM
> file="e:\inetpub\hostroot\mydomain.com\MailFiles\#File.ServerFile#">
> </CFIF>
>
>
> However, the server is returning:
>
> "Cold Fusion cannot determine how to process the tag <CFMAILPARAM>. The
tag
> name may be misspelled."
>
>
> That's not a standard tag?  If not, what's a better way to do this?
>
> It *WILL* work by wrapping the entire <CFMAIL> in the if statement and
> putting "mimeattach="..." inside the <CFMAIL> header, but then you have to
> repeat the entire <CFMAIL> (and it's BIG!) for the <CFELSE> side and that
> sure adds a lot of code....
>
>
>
> Les Mizzell
> ***********
> The main reason Santa is so jolly is
> because he knows where all the bad girls live.
>
> --------------------------------------------------------------------------
----------------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to