success : function() { alert("email sent successfully"); }, failure : function() { alert("unable to send email"); }