This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSP and the fly likes Invoking lotus notes by javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Invoking lotus notes by javascript

chetan sisodiya

Joined: Nov 14, 2011
Posts: 12
Hello all,
below is the code for invoking outlook by java scrips .

I want to invole Lotus Notes, but unable to find the cede on gogle,

Please help

var outlookApp = new ActiveXObject("Outlook.Application");
var nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailItem = mailFolder.Items.add('IPM.Note.FormA');
mailItem.Subject="CUSTOMER SERVICE";
mailItem.To = document.frmM.txtEmail.value;
mailItem.HTMLBody = "SOME HTML CODE";
mailItem.display (0);

Rob Spoor

Joined: Oct 27, 2005
Posts: 19674

Please UseOneThreadPerQuestion. Since this thread has slighlty more information, let's continue there.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Invoking lotus notes by javascript