Send E-mail in HTML

The Tutorial describes you a code that help you to send Email in HTML. In
this Tutorial, the code create a HTML Page, which depicts you how to send email
from HTML page. In this page user can enter Name, Email -id and Comment and
click on the submit button, which send further to the specified
<form action>.The HTML page also create reset button, which allows the
user to reset the text.
<form action> : When the page is submitted by the user, the
<form action> represent the url, form to which page is submitted.
<html>
<body>
<form action="MAILTO:srbh.saurabh@gmail.com" method="post" enctype="text/plain">
<h3>This form sends an e-mail to srbh.saurabh@gmail.com.</h3>
Name:<br>
<input type="text" name="name"
value="Name font size="20">
<br>
Mail:<br>
<input type="text" name="mail"
value="Mail id" font size="20">
<br>
Comment:<br>
<input type="text" name="comment"
value="yourcomment" font size="40">
<br><br>
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>
</body>
</html>
|
On Browser, the code is displayed as
Download Source

|