can we send mail using JavaScript?

Total Post:2

Points:14
 2390  View(s)
Ratings:
Rate this:
I want to make simple web application using html and javascript for mailing system
but i need
how can we send mail using javascript?
what will be the answer of its?
  1. Post:103

    Points:721
    Re: 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:

    function functioname(form)
    {
    tdata=document.myform.tbox1.value;
    location="mailto:emailid@domain.com?subject=...";
    return true;
    }

      Modified On Mar-29-2018 04:00:35 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!