ValK
2004-11-09 20:25:04 UTC
Hello.
I'm not sure if i use the right discussion group, but here is my problem:
I'm using Microsoft cdo for nts 1.2 library in my vb6 project.
Simple code that sent out email to the user.
Dim oMsg As New CDONTS.NewMail
Set oMsg = CreateObject("CDONTS.NewMail")
oMsg.Subject = "test"
oMsg.From = "***@comcast.net"
oMsg.To = "***@yahoo.com"
oMsg.MailFormat = CdoMailFormatMime
oMsg.BodyFormat = CdoBodyFormatText 'CdoBodyFormatHTML
oMsg.Body = "Hello this is a test"
oMsg.Send
It works fine on local pc(windows xp pro.) and test server(windows 2000
server)
But it will not work on the production server(windows 2000 server)
following error occurs:
Error code: Error #: 429
Description: Error Description: ActiveX component can't create object
Source: basMain.SendEMail()
Any ideas?????????
Thanks for help
Val
I'm not sure if i use the right discussion group, but here is my problem:
I'm using Microsoft cdo for nts 1.2 library in my vb6 project.
Simple code that sent out email to the user.
Dim oMsg As New CDONTS.NewMail
Set oMsg = CreateObject("CDONTS.NewMail")
oMsg.Subject = "test"
oMsg.From = "***@comcast.net"
oMsg.To = "***@yahoo.com"
oMsg.MailFormat = CdoMailFormatMime
oMsg.BodyFormat = CdoBodyFormatText 'CdoBodyFormatHTML
oMsg.Body = "Hello this is a test"
oMsg.Send
It works fine on local pc(windows xp pro.) and test server(windows 2000
server)
But it will not work on the production server(windows 2000 server)
following error occurs:
Error code: Error #: 429
Description: Error Description: ActiveX component can't create object
Source: basMain.SendEMail()
Any ideas?????????
Thanks for help
Val