function SendMail() { try { var mailAddress = 'test@gmail.com'; var mailSubject = 'Mail Subject'; var mailBody = 'Text goes here'; location.href = 'mailto:' + encodeURIComponent(mailAddress) + '?subject=' + encodeURIComponent(mailSubject) + '&body=' + encodeURIComponent(mailBody); } catch (err) { alert(err);} }
, <p></p>
, <p> , </p>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)