mailto with thans letter

admin

Administrator
Staff member
Please try to find out a solution regarding the following program. When sending a booking form or part of it ( a textare for example ) I receive the thank you letter, but no mail reaches the address written in the Action line. I hope that some of Forum friends may suggest a valid solution. Thank you, Corrado.<br />
This is the code:<HTML><br />
<HEAD><br />
<TITLE></TITLE><br />
<style type="text/css"><br />
<br />
</style><br />
<SCRIPT LANGUAGE="JavaScript"><br />
function submitForm(sub) {<br />
document.forms[sub].submit();<br />
}<br />
<br />
function proceedSubmission() {<br />
return confirm("Click OK to mail this information");<br />
}<br />
<br />
</SCRIPT><br />
</HEAD><br />
<BODY><br />
<H1></H1><br />
<br />
<FORM METHOD="post" ACTION="mailto:[email protected]" ID="modulo"<br />
ENCTYPE="text/plain" onSubmit="return proceedSubmission()"><br />
<TEXTAREA NAME="inputField" COLS="40" ROWS="10"></TEXTAREA><BR><br />
<A HREF=http://www.webdeveloper.com/forum/archive/index.php/"thanks.htm" onClick="submitForm('modulo')">Mail It!</A><br />
</FORM><br />
<br />
</FORM><br />
<br />
<!--onSubmit="return proceedSubmission()"--><br />
</BODY><br />
</HTML><!--content-->When you use "mailto" in the action field JavaScript does not normally support the document.formname.submit() method. You will have to use the normal input type of submit button. You should use a Server Side language though to process forms as they are more reliable. Using the "mailto" method requires that the persons Mail Client is set up properly which it usually is not.<!--content-->
 
Back
Top