1. Create a form with textboxes as you have mentioned
2.
Hide Copy Code
<script>
function sendEmail()
/* This script by pressing "Confirm" will automatically open a default email software to send email to the address
provided with subject "Assignment4" and body from the input fields.
*/
{
window.open('mailto:'+document.getElementById ( " txtMailToId").value+'?subject='+document.getElementById ( " txtTitle").value+'4&body='+document.getElementById ( " txtFirstName").value+" " + document.getElementById ( " txtLastName").value);
}
</script>