Try dump form.email to make sure it's being posted. -----Original Message----- From: Joe P [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 July 2007 3:24 PM To: CF-Newbie Subject: Re: CFMail Form
I'm getting (Element EMAIL is undefined in FORM.) refering to <cfmail to="[EMAIL PROTECTED]" from="#Form.email#" server="127.0.0.1" >What's the error you are receiving? > >Hi, >I'm having a problem getting a form to work with CFMail. The following is >part of my html form and part of my emailForm.cfm file. Any help in this >matter would be greatly appreciated! >Thank you, > > ><form name="emailform" id="emailform" method="post" action="emailForm.cfm" >enctype="text/plain"> ><table border="0" cellspacing="0" cellpadding="0"> ><tr> ><td> </td> ></tr> ><tr> ><td class="formtx"><label for="custname">Name: </label></td> ><td class="tleft"><input type="text" name="custname" id="custname" size="30" >/></td> ></tr> > > > > ><body> ><cfmail to="[EMAIL PROTECTED]" from="#Form.email#" server="127.0.0.1" >subject="OSB Email Form"> >#Form.custname# has sent you an email, below is what they sent, >Name: #Form.custname# >Company: #Form.coname# >Address: #Form.address# >City: #Form.city# >State: #Form.state# >Zip: #Form.zip# >Email: #Form.email# >Phone: #Form.phone# >Fax: #Form.fax# >Comments: #Form.questions# >Contact Time: #Form.ctime# ></cfmail> ></body> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2924 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
