I have the following javascript function which should open (in our case lotus notes), with a prefilled email.
function emailpage() {
strTitle = document.title;
strTitle = strTitle.replace("&","-");
window.location = "mailto:" + "?subject=I thought this link might interest you." + "&body=" + strTitle + " - " + window.location;
}
but instead I am getting this: