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.

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

 

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish