Problems with CDONTS
Hi!
anybody knows why i get this msg:
"ActiveX component can't create object"
when i was running my application? the code is:
Dim iMsg as CDONTS.NewMail
Set iMsg = CreateObject("CDONTS.NewMail")
strSubject = SUBJECT
strBody = BODY
strFrom = ORIG
strFrom = Replace(strFrom, " ", ".")
strTo = destination
iMsg.From = strFrom
iMsg.To = strTo
iMsg.Subject = strSubject
iMsg.Body = "Hi my name is Beth"
iMsg.Send
thanks!
|