Netscape 8.0.1 ? I have developed software that uses JavaScript to
dynamically build an email message, upon request, and the use a
mailto: URL activated by a button click.
[snip]
function sendMail()
{
mailDest = prompt("Enter email address:");
if (mailDest != null)
{
var myURL = "mailto:" + mailDest + "?subject=" + stuName +
" - " + testID + "&body=" + escape(assessmentResults);
window.location = myURL;
}
return true;
}
[snip]
[snip]
<input type="button" value="Email" class="control"
onclick="javascript:sendMail();">
[snip]
This code works in MS IE 5/6, Netscape 6.2.2/7.0/7.1, Firefox 1.0.2/1.04,
Opera 7.23/7.54/8.0, and Mozilla 1.0.1/1.7.8 but not in the New Netscape
8.0.1. I have tested these browsers with both MS Outlook and Mozilla
Thunderbird set up as the default email client.
Thanks, in advance, for any helpful hints,
Jim
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4


