Sanjay Sharma Total Post:42 Points:210 Posted by Sanjay Sharma March-18-2011 0:00 AM JavaScript JavaScript 1 Answer(s) 1731 View(s) Ratings: Rate this:
Sanjay Sharma Post:42 Points:210 How can we send mail using JavaScript? Posted on 7 years ago 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; }
Post:42
Points:210How can we send mail using JavaScript?
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: