Sending Lotus Notes email from VB
Does anybody knows how to send email from vb with a Lotus Notes mailserver? Can this be done with the CDO library ?
Can you give me any sample code ?
Thanks in advance,
Eric
Web Development
Does anybody knows how to send email from vb with a Lotus Notes mailserver? Can this be done with the CDO library ?
Can you give me any sample code ?
Thanks in advance,
Eric
by jcprince
Hi,
I've used the CDO library and generated emails from a Notes mailserver using both ASP and VBScript (WSH). Sample code below:
strFrom = "ORIGINATOR TO GO HERE"
strTo = "RECIPIENT TO GO HERE"
strSubject = "EMAIL SUBJECT GOES HERE"
strBody= "EMAIL BODY GOES HERE"
et objSendMail = CreateObject("CDONTS.NewMail")
objSendMail.From = strFrom
objSendMail.To = strTo
objSendMail.Subject = strSubject
objSendMail.Body = strBody
objSendMail.Send
Set objSendMail = Nothing
by eebee
by eebee
This discussion is closed to new replies.
Sort by Trending