Results 1 to 2 of 2

Thread: PWS CDONTS config

  1. #1
    Join Date
    Dec 1969

    Default PWS CDONTS config

    I am trying to send an email from an application that i am developing on PWS but I get an error that says:<BR><BR>Microsoft VBScript runtime error &#039 800a01ad&#039 <BR>ActiveX component can&#039t create object: &#039CDONTS.NewMail&#039 <BR><BR><BR><BR>Here is my code:<BR>dim sEmailMessage,sFromAddress<BR>sFromAddress="beth.x"<BR>set objMail=CreateObject("CDONTS.NewMail")<BR><BR>objM ail.Send sFromAddress,sEmailAddress,sSubject,sEmailMessage< BR>set objMail=nothing <BR><BR><BR>Someone told me that PWS nneds to be configured. Cananyone help me out.<BR><BR>Thanks.<BR>anna

  2. #2
    Join Date
    Dec 1969

    Default RE: PWS CDONTS config

    CDONTS is Collabaritve Data Objects for NT Server - NT Server being the important bit. Since you&#039re using PWS I assume you&#039re not running NT Server, so you are bumped. If you are running NT Server then you&#039ll need to install CDONTS (NT Resource Pack, I think)<BR><BR>By the way, use Server.CreateObject instead of CreateObject.<BR><BR>Dunc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts