Mailing with Novel Groupwise in ASP.NET

Since ASP.NET doent support MAPI,its tough to send mails to a novell groupwise client from ASP.NET.An alternate approach is to use the novell groupware type library and using like this.

ITPro Today

February 2, 2004

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Since ASP.NET doent support MAPI,its tough to send mails to a novell groupwise client from ASP.NET.

An alternate approach is to use the novell groupware type library and using like this.

objGroupWise = CreateObject( "NovellGroupWareSession")
objAccount = objGroupWise.Login(uid, , pwd)
objMailBox = objAccount.MailBox
objMessages = objMailBox.Messages
objMessage = objMessages.Add("GW.MESSAGE.MAIL", "Personal")
objRecipients = objMessage.Recipients
objRecipient = objRecipients.Add(myEmailTo)
objMessage.Subject = mySubject
objMessage.BodyText = myMessage
objMessageSent = objMessage.Send

 

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like