You need some server side code to send the mail. Just having a form doesn’t do anything for you
So to send it on that click:
$('#sendMessage').click(function(e) {
var $form = $('#tellafriend_form');
$.post($form.get(0).action, $form.serialize(), function(data){
//something on success
})
$("#tellfriend").fadeToggle('fast');
});
9
solved send mail form not sending mail