How can we send mail using JavaScript?

Answer Posted / viswambharan

<script type="text/javascript" language="javascript">
<form action = "mailto:http://www.gmail.com" enctype="text/plain" method="post">
First Name:<input type="text" name="Firstname" id="name">
Email Address:<input type="text" name="Email Address" id="email">
<input type="submit" name="Sent Mail" id="Send">

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the data types in php?

541


How to submit form without a submit button.

535


What is escape data in php?

522


> symbol is used to redirect the output of a command. State Whether True or False?

651


Does php require a web server?

508






What is an object in php?

549


What is difference Between PHP 5 and 7?

512


Why php is sometimes called as embedded scripting language?

483


How to connect to mysql from a php script?

557


Which methods should be used for sending an email using the variables $to, $subject, and $body?

566


Explain the difference between $var and $$var?

535


How to merge values of two arrays into a single array?

482


What is csrf verification?

529


What is prepare in php?

517


How can you pass a variable by reference?

556