Hi,
Using js i want to send mail can anyone give some example code for that
Thanks and Regards
Punithapary
Hi,
Using js i want to send mail can anyone give some example code for that
Thanks and Regards
Punithapary
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
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.