Sending mail througth js

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jun 2008
Posts: 47
Reputation: punithapary is an unknown quantity at this point 
Solved Threads: 0
punithapary punithapary is offline Offline
Light Poster

Sending mail througth js

 
0
  #1
Aug 26th, 2008
Hi,
Using js i want to send mail can anyone give some example code for that

Thanks and Regards
Punithapary
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 381
Reputation: langsor is an unknown quantity at this point 
Solved Threads: 33
langsor langsor is offline Offline
Posting Whiz

Re: Sending mail througth js

 
0
  #2
Aug 26th, 2008
JavaScript, by itself, can not send email. It can, however, communicate with a server-side script (such as PHP) which can send the email for it.

Search around for examples of Ajax JavaScript methods to communicate with your server-side script. Either that, or use an HTML form to submit the email values to the server-side email script.

Look at this page for examples of PHP sending email.
http://www.php.net/manual/en/function.mail.php

Good luck
Google is the answer to all of your questions -- the trick is knowing what question to ask in your specific predicament.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the JavaScript / DHTML / AJAX Forum


Views: 1251 | Replies: 1
Thread Tools Search this Thread



Tag cloud for JavaScript / DHTML / AJAX
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC