Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HP Openview Notifications with Lotus Notes.

Status
Not open for further replies.

laang

Technical User
May 15, 2001
1
SG
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
 
Laang,

I would ask that question in one of the VB forums. Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top