Try commenting out the cfmail part and see what "To:" is returning

You should probably un-comment this line as well: ;-)

       <!---cfif not len(trim(form.comments))>
               <cfset error = error & "It's called a Comment Form,
stupid.<br>">
       </cfif--->



G

On Tue, Jul 1, 2008 at 1:20 PM, 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
>
>

-- 
"If everything seems under control, you're not going fast enough"
-- Mario Andretti


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:308411
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to