html code to send email on button click

Today, We want to share with you html code to send email on button click.In this post we will show you sending html form data to an email address, hear for sending html form data to an email address without php we will give you demo and example for implement.In this post, we will learn about How to send email in php? with an example.

How to Create an HTML Form That Sends You an Email?

Example 1: html send email

<a href="mailto:[email protected]"<button>E-Mail me</a>

Using the Basics

Example 2:

<form action="mailto:[email protected]" method="POST" enctype="multipart/form-data" name="EmailForm">

Name:<br> <input type="text" size="19" name="ContactName"><br><br>
Message:<br> <textarea name="ContactCommentt" rows="6" cols="20"></textarea><br><br> 
<input type="submit" value="Submit"> </form>

html button to send email

Example 3:
You can use mailto, here is the HTML code:

<a href="mailto:EMAILADDRESS">

I hope you get an idea about html code to send email from a form submission.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Also Read This 👉   vue-barcode - Vuejs Barcode Generator Script Download