<html>
Hi , You can not send email directly using JavaScript.
But you can use JavaScript to execute a client side email program send the email using the "mailto" code.Plz check below example:
<head>
<title></title>
<script type="text/javascript">
function myfunction(form)
{
tdata=document.form1.text1.value;
location="mailto:abc@domain.com?subject=...";
return true;
}
</script>
</head>
<body>
<form action="#" name="form1">
<input type="text" name="text1">
<input type="submit" onClick="myfunction(this)">
</form>
</body>
</html>
Thanks & Regards
Hari
Sabarimahesh, if this helps please login to Mark As Answer. | Alert Moderator