If someone could please help me, I would be eternally grateful and send good thoughts your way. I am creating a website for a friend who has their site hosted by GoDaddy. It is a shared service that only support asp forms. I can't get the darn thing to work. When it does work, it doesn't redirect to the thank you page, it goes back to the index page. AHHHH!!! three days and over 20 hours getting frustrated with this. Can somsone look at this code and tell me whree I am going wrong? Also, I am a total newbie. I have learned a lot in the last three days, but obviously not enough to solve this issue. The code below goes back to the thank you page, but no email is being generated and sent to the inbox of the email specified. I know this code is wrong and many of you may laugh, but I am desperate, so I am putting this crappy code that makes em look like a dumbass up there so you can perhaps help me. AHHHHHHHHH! Thankl you to teh awesome eprson who can solve this for me!!! Here it is: <form action="gdform.asp" method="post"> <p><img src="contactHeader.jpg" alt="headermenu" width="980" height="250" border="0" usemap="#Map" /> <map name="Map" id="Map"><area shape="rect" coords="4,58,132,199" href="main.html" target="_self" /> <area shape="rect" coords="210,56,350,198" href="res.html" target="_self" /> <area shape="rect" coords="423,55,563,203" href="comm.html" target="_self" /> <area shape="rect" coords="635,58,771,199" href="http://sherlink.sherwin.com/swapp/color_visualizer/index.jsp" target="_blank" /> <area shape="rect" coords="847,56,979,209" href="gdform.html" target="_self" /> </map> <center><table width="50%" border="0" cellpadding="5"> <tr style="vertical-align: top"> <td><p align="left"><a href="mailto:matt.gallagher@abepainting.com"> </a></p></td> <td> </td> <td> </td> <td><p align="left"><label for="name"> Name:<br /> </label> <input type="text" id="name" name="Name" size="45" /></p> <p align="left"><label for="email"> E-mail:<br /> </label> <input type="text" id="email" name="Email" size="45" /></p> <p align="left"><label for="comments"> Questions or Comments:<br /> </label> <textarea id="comments" name="Comments" rows="10" cols="40"></textarea></p> <p> <input type="submit" value="Submit" /> <% Response.Redirect("thankyou.html") %> </form> </p></td> </tr> </table> </center> </p> <script type="text/javascript" src="fixit.js"></script>
hello, I would try implementing this using server side code. try the System.Net.Mail class of ASP.NET 2.0 Here is a website that explains how and provides the example code! http://www.codeproject.com/useritems/EmailApplication.asp Code (markup):