dbTalk Databases Forums  

CDONTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss CDONTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ed
 
Posts: n/a

Default CDONTS - 11-15-2004 , 04:11 PM






Hi,
I tried to use the following code but the error occurs at abc.send
"ActiveX Component can't create object, any idea
Thanks
Ed

Dim abc
Set abc = CreateObject("CDONTS.NewMail")
abc.to = "To (AT) CompanyName (DOT) com"
abc.from = "From (AT) CompanyName (DOT) com"
abc.subject = "Hello World"
abc.send
set abc = nothing




Reply With Quote
  #2  
Old   
Geo
 
Posts: n/a

Default Re: CDONTS - 11-17-2004 , 04:09 AM






Hi Ed, it sounds like you don't have CDONTS dll installed which OS are you
using?

"Ed" <Ed (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
I tried to use the following code but the error occurs at abc.send
"ActiveX Component can't create object, any idea
Thanks
Ed

Dim abc
Set abc = CreateObject("CDONTS.NewMail")
abc.to = "To (AT) CompanyName (DOT) com"
abc.from = "From (AT) CompanyName (DOT) com"
abc.subject = "Hello World"
abc.send
set abc = nothing






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.