Hi, i have an html page that has a javascript function that opens an outlook 
mail window .the function is pretty basic:

function OpenOutlookDoc()
{try{
var outlookApp = new ActiveXObject("Outlook.Application");
var nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailItem = mailFolder.Items.add('IPM.Note.FormA');
mailItem.Subject="a subject test";
mailItem.To = "[EMAIL PROTECTED]";
mailItem.HTMLBody = "<b>bold</b>";
mailItem.display (0);
}catch(e){
alert(e);
// act on any error that you get
}}

if I run the file locally, with the url looking like: file://C:/....things are 
ok, page works, if I copy the html page in one of my projects and run int like 
localhost:8080/project/file.html I get an [Object error] alert......i remember 
reading somewhere about some problems using Active -x in tomcat.

can anyone give me a clue on what to do?10x


      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to