How can we send mail using Javascript?



How can we send mail using Javascript?..

Answer / sai dasika

Unfortunately we can't send a mail using javascipt directly.
You can use a form action attribute like
action="mailto:id@id.com&"+Subject+Body

Doing this you would use your default mail client setup on
your system to send a mail.


for further reference see the following link:-
http://www.webmasterworld.com/forum91/4864.htm

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What is viewstate in javascript?

0 Answers  


Why does the browser display the slow script warning?

0 Answers  


What is the function of deferred scripts?

0 Answers  


Explain the for-in loop?

0 Answers  


How can a particular frame be targeted, from a hyperlink, in javascript?

0 Answers  


Is null === undefined?

0 Answers  


Write a main method that prompts the user to enter the starting population, birth and death rates, and the number of years. The input birth and death rates cannot be negative, the starting population cannot be less than 2, and the number of years greater than 0. If the user enters an invalid value, this program will prompt user to re-enter the value until a valid value has been read. When all input values are valid, call on the methods above to compute estimated population and print result.

0 Answers   Wipro,


List out all the falsifying tokens in Javascript?

0 Answers  


Can you access Cookie using javascript?

0 Answers  


What is difference between javascript and jscript?

0 Answers  


To write messages to the screen without using "document.write()"?

0 Answers  


What is the use of a form in html page? Is there any way to submit the page without using the form.

3 Answers   Kanbay, TCS,


Categories