Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can we send mail using JavaScript?

Answer Posted / naaz

There is no way of sending an email with javascript alone.
Your only possible option is to use a server-side script
(PHP, Perl, ASP) to email the form results to you.
To be more specific, your <FORM> line would look something
like this:

<form method=yest action=myscript.cgi>

The file "myscript.cgi" is a Perl or PHP program you wrote
and uploaded to the server. That program displays the
results to the user and then emails you the results.

It's just a misleading point to say u can still send an
email thru javascript (mailto:) plz understand that it
only opens a client side email program but doesnt send an y
email you wud definitely need a server side language to
send an email

cheerss

Is This Answer Correct ?    99 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are major variables in research?

1049


Where php basically used?

1058


How can you tell if a number is even or odd without using any condition or loop?

1049


What is the use of dual table in mysql?

1015


What is meant by an associative array?

1044


Explain the ternary conditional operator in php?

1150


What is the difference between the functions strstr() and stristr()?

1038


What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?

1004


Tell me how can we determine whether a php variable is an instantiated object of a certain class?

1094


What does a special set of tags do in php?

980


How can we submit form without a submit button?

1074


Php code to find whether a number armstrong or not?

1017


What is implode() in php?

1138


How is session id stored in browser?

1062


What is the difference between apache and tomcat?

1066