opening the form

M

Mohan

hello sir,
kindly explain the following function.
function OpenOutlookDoc(whatform)
{ try {
outlookApp = new ActiveXObject("Outlook.Application");
nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailItem = mailFolder.Items.add(whatform);
mailItem.Display(0)
}
}

thx
mohan
 
S

Sue Mosher [MVP-Outlook]

It's a function to launch a custom form. What do you want to know that the
Help topics for the relevant methods (GetNameSpace, GetDefaultFolder,
Items.Add) do not tell you?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top