Header

Sunday, 23 October 2011

How to send E-mail with subject


This is a small function that is use for simply sending msg with subject.............

function sendMail() {

     var link  = 'mailto:?subject=Here You can put ur Subject&body='; 
 
     var curntLoc=window.location.href;
     link +=escape(curntLoc);
  window.location.href = link;
   // window.location.href = link;
}

No comments:

Post a Comment