Send Form’s Data via Email

[Total: 0    Average: 0/5]

This shows how to have a form send email POST-method as plain text.

Body Code:

<form name="FormName" action="mailto:someone@somewhere.com" method="post" enctype="text/plain">
<table border="0" cellpadding="0" cellspacing="10" width="140" align="center">
<tr><td colspan="2">mail js-examples a test email</td></tr>
<tr><td>Your Email :</td><td><input type="text" name="mail" size="25"></td></tr>
<tr><td>Some Test Data :</td><td><input type="text" name="link" size="25"></td></tr>
<tr><td colspan="2"><textarea name="opmerking" cols="35" rows="4">[put more data here]</textarea></td></tr>
<tr><td align="left"><input type="submit" value="Send Email!"></td><td><input type="reset" value="Reset"></td></tr>
</table>
</form>

Times Viewed: 1

Leave a Reply

Your email address will not be published. Required fields are marked *