Results 1 to 2 of 2

Thread: CDONTS

  1. #1
    Rashi Guest

    Default CDONTS

    I am trying to send an email using CDONTS .and this is the first time that i am using this CDO and I am opening the object saying<BR>Set objmail=createobject("CDONTS".Newmail")<BR><BR>it gives me an error saying<BR><BR>Microsoft VBScript runtime error &#039 800a01ad&#039 <BR>ActiveX component can&#039t create object: &#039createobject&#039 <BR><BR>Can anyone help in finding out how can i create this object?<BR><BR><BR><BR>

  2. #2
    Rob Guest

    Default RE: CDONTS

    Try this. Have you installed smtp service?<BR><BR>Dim objMail<BR> Set objMail = Server.CreateObject("CDONTS.NewMail")<BR><BR> objMail.From = ""<BR> objMail.Subject = "hello"<BR> objMail.To = ""<BR> objMail.Body = "hello"<BR> objMail.Send<BR> Response.Write "Thank You" <BR>set objMail = nothing

Posting Permissions

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