Thursday, August 1, 2013

How to send email using Javascript....


Simple and very usefull

function sendMail() {
     var link  = 'mailto:?subject=You can insert subject here&body=';
     var curntLoc=window.location.href;
     link +=escape(curntLoc);
  window.location.href = link;
   // window.location.href = link;
}

No comments:

Post a Comment