How can we send mail using Javascript?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to replace all occurrences of a string in JavaScript?

594


Explain how can you submit a form using JavaScript?

560


What is scope of variable in javascript?

572


How do I start a javascript project?

536


Is javascript whitespace sensitive?

586






What is the difference between call & apply?

561


What is null javascript?

542


java pgme for class members hours:minutes:seconds then the constructor expects milliseconds as assignment and initialize data members the members function print hh:mm:ss 90,000 milliseconds passed in constructor then the output is 00:01:30

1582


How do functions work in javascript?

538


What are the different types of errors available in javascript?

582


What is event target in javascript?

544


Should you use var or let?

578


Why do you need javascript?

552


Is javascript enabled on chrome?

543


If we want to return the character from a specific index which method is used?

697