Open An Email Program With Subject And Body Prefilled Is Not Working Correct
I have the following javascript function which should open (in our case lotus notes), with a prefilled email. function emailpage() { strTitle = document.title; strTitle = s
Solution 1:
Replacing body and subject should help you:
function emailpage() {
strTitle = document.title;
strTitle = strTitle.replace("&","-");
window.location = "mailto:?body=" + strTitle + " - " + window.location + "&subject=I thought this link might interest you.";
}
Post a Comment for "Open An Email Program With Subject And Body Prefilled Is Not Working Correct"