No. There is no way to send emails directly using JavaScript.
But you can use JavaScript to execute a client side email program send the email using the "mailto" code. Here is an example:
function functioname(form)
{
tdata=document.myform.tbox1.value;
location="mailto:emailid@domain.com?subject=...";
return true;
}
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
But you can use JavaScript to execute a client side email program send the email using the "mailto" code. Here is an example:
function functioname(form) { tdata=document.myform.tbox1.value; location="mailto:emailid@domain.com?subject=..."; return true; }