I have installed Openview NNM6.1 on a win 2000 server.
Since my company uses Lotus Notes, the intention is to use notes to send out e-mail notifications. I has integrated microsoft outlook with lotus notes to enable the MAPI services.
I have wrote a VBscript to send a test message. The script works but however, it will prompt me to enter the password for my mail account.
Does anyone knows what could be the problem?
Thanks
Test.vbs
Dim theApp, theNameSpace, theMailItem
Set theApp = Wscript.CreateObject("Outlook.Application"
Set theNameSpace = theApp.GetNameSpace("MAPI"
theNameSpace.Logon "profile", "password"
Set theMailItem = theApp.CreateItem(0)
theMailItem.Recipients.Add "anyone@mail.com"
theMailItem.Subject = "Your Subject Here"
theMailItem.Body = "Your message here."
theMailItem.Send
theNameSpace.Logoff
end of test.vbs
Since my company uses Lotus Notes, the intention is to use notes to send out e-mail notifications. I has integrated microsoft outlook with lotus notes to enable the MAPI services.
I have wrote a VBscript to send a test message. The script works but however, it will prompt me to enter the password for my mail account.
Does anyone knows what could be the problem?
Thanks
Test.vbs
Dim theApp, theNameSpace, theMailItem
Set theApp = Wscript.CreateObject("Outlook.Application"
Set theNameSpace = theApp.GetNameSpace("MAPI"
theNameSpace.Logon "profile", "password"
Set theMailItem = theApp.CreateItem(0)
theMailItem.Recipients.Add "anyone@mail.com"
theMailItem.Subject = "Your Subject Here"
theMailItem.Body = "Your message here."
theMailItem.Send
theNameSpace.Logoff
end of test.vbs