You could use AJAX (a form of javascript) to call a PHP (or any other server-side script) that would then send the email. You wouldn't be able to do it with just javascript though. Then again, if you go that route, you may want to just use the server side language directly.
//EDIT: If you would like the basics of sending email using PHP and a mail server, simply use the following:
Code:
<?php
$to = "me@mydomain.com"; //the address the email is being sent to
$subject = "This is the subject"; //the subject of the message
$msg = "This is the message"; //the message of the email
mail($to, $subject, $msg, 'From: PHP Script <noreply@domain.com>'); //send the email.
?>
Either way, hope this helps.
Bookmarks