J
james
Hi I am using the following code that I found on the web
(http://www.paulsadowski.com/WSH/cdo.htm).
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "(e-mail address removed)"
objMessage.To = "(e-mail address removed)"
objMessage.TextBody = "This is some sample message text."
objMessage.Send
I have attached the above to a command button but when I click it the code
gets an error at objMessage.Send. It says it can't do it. Now it is at work
and we don't use outlook or outlook express, only lotus notes. I am presuming
that is the problem. How can I amend the above code to send a message (i
presume it needs to go through lotus notes somehow, I maybe wrong?)
Regards
(http://www.paulsadowski.com/WSH/cdo.htm).
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "(e-mail address removed)"
objMessage.To = "(e-mail address removed)"
objMessage.TextBody = "This is some sample message text."
objMessage.Send
I have attached the above to a command button but when I click it the code
gets an error at objMessage.Send. It says it can't do it. Now it is at work
and we don't use outlook or outlook express, only lotus notes. I am presuming
that is the problem. How can I amend the above code to send a message (i
presume it needs to go through lotus notes somehow, I maybe wrong?)
Regards