for grins, try this: <cfset sendEmail = "#getproducts.Email[1]#">
On Tue, Jul 1, 2008 at 10:20 AM, Rick King <[EMAIL PROTECTED]> wrote: > I've set up an email form (with a captcha) that will submit an email to a > seller on my website. The "TO" attribute is simply a query variable. But for > some reason, I keep getting the following error. > > "Attribute validation error for tag CFMAIL. The value of the attribute TO is > invalid. The length of the string, 0 character(s), must be greater than or > equal to 1." > > I use a <cfdump> and it alwsys returns a valid email address, so I can't > figure out why the <cfmail> thinks the TO field is empty. > > Below is my code. Thanks in advance. Rick -- A byte walks into a bar and orders a pint. Bartender asks him "What's wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I thought you looked a bit off." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308399 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4