Home Html Send E-mail in HTML

Related Tutorials


 
 

Share on Google+Share on Google+

Send E-mail in HTML

Advertisement
The Tutorial describes you a code that help you to send Email in HTML.

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

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 6, 2008

Related Tutorials

Discuss: Send E-mail in HTML   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:9
sneha
June 7, 2013
Help

Hello Sir, I seen your example and its really very helpful for me. I want to ask one more thing regarding send email via HTML code. Query is: when i fill up my details in form and enter captcha code for security purpose. After enter captcha code i validate it into same html file, if its vaerified then i want to send an email from that html file and redirect to thankyou.html page. Can you please help me for this query as soon as ealry?
darshan
September 14, 2011
not happenning

It is opening Outlook Express...What to do if i want to send email directly withouth opening Outlook
naresh
January 12, 2012
appreciation

ur code is simple using inthe site so good to visit ur site
Bobby Varghese
March 22, 2012
Is there anybody out there ?????

Is there anybody out there ???????????
dsf
August 31, 2012
hi

hi
viksa
September 16, 2012
for above mail

its not working
ahmad
October 19, 2012
test html mail

test mail
Sagar Dhondkar
June 19, 2013
Not Opening Gmail

It is opening Outlook Express...What to do if i want to send email directly withouth opening Outlook
manvender
May 3, 2014
Transport Project

done
DMCA.com