What is the simplest way of sending form results to an e mail address and then on submission going to a page that confirms to the user that the form has been sent. I have this in my code at the moment but it is not sending the data;
<script language="JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args+".location='"+args[i+1]+"'"
}
//-->
</script>
<form name="form1" method="post" action="mailto:blah.blah@blah.co.uk" enctype="text/plain" onSubmit="MM_goToURL('parent','confirmsent.htm');returndocument.MM_returnValue">
<script language="JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args+".location='"+args[i+1]+"'"
}
//-->
</script>
<form name="form1" method="post" action="mailto:blah.blah@blah.co.uk" enctype="text/plain" onSubmit="MM_goToURL('parent','confirmsent.htm');returndocument.MM_returnValue">