| | |
Sending mail througth js
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2008
Posts: 381
Reputation:
Solved Threads: 33
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
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.
![]() |
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: i can script java and lua...
- Next Thread: horizontal menu
Views: 1251 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
acid2 ajax ajaxexample ajaxjspservlets array autoplay blackjack browser captcha captchaformproblem cart close codes css date debugger decimal dependent design developer disablefirebug dom download element embed engine enter error events ext file firefox flash focus form frameworks game gears getselection google gxt hiddenvalue highlightedword hint html ie7 iframe index java javascript javascripthelp2020 javascripts jquery jsp libcurl listbox maps margin marquee masterpage media menu mp4 onerror onmouseoutdivproblem onmouseover parameters paypal pdf php player position post problem programming prototype rated rating redirect safari scale scriptlets scroll search security size software solutions sources starrating synchronous toggle tweet unicode variables w3c web webkit webservice window





