Sadly, you can send emails using
PHP[
^] only.
$to = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example.com';
mail($to, $subject, $message, $headers);
?>
jQuery or JavaScript can only send an
ajax request[
^] to your PHP based server to send email.
$.ajax({
url: 'send-email.php'
success: function(data) {
alert('Email sent');
}
});
I believe this would be enough!