Within our web application, the user requirements state that we must mimic the functionality within IE under the File->Send->Link by Email feature.
If you try that, you will see IE open the default email client (Notes in our case) and open a new message, insert a subject and in the body insert a hyperlink to the current URL in IE.
The way to do this in javascript is by using “Mailto”. Here is example code:
emailbody=escape(document.location.href);
strEmail=“mailto:?subject=my subject&body=”+emailbody;
location.href = strEmail;
The reason for calling “escape” is that the URL has parameters on it with “?” and “&” in the string.
Bottom line: The above function works for me, but not for the users. The users see a truncated version of the URL in the subject, and nothing in the body.
Reason: it appears that this is a known bug in older versions of Notes (users run 6.5.1, I run 6.5.4).
So my question is: If this is a known issue with 6.5.1, then why does the IE function (File->Send->Link by Email) work for users with version 6.5.1, while the “MailTo” in javascript does not?