dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Cdonts

  1. #1
    Join Date
    Dec 2002
    Location
    india
    Posts
    10

    Cdonts

    Hi,
    I have used CDONTS.newmail to create object for sending mails, but i am getting error invalid class and server create object failed. but i checked out that component using regedit command , it is there at server. can u help?

  2. #2
    Join Date
    Dec 2002
    Posts
    54
    Hi Use the following code to send the mail. Make sure that SMTP services are running on IIS, where you are running the ASP pages.

    Set objMail = CreateObject("CDONTS.Newmail")
    objMail.From = "rob@here.com"
    objMail.To = "jdr@there.com"
    objMail.Subject = "Bad News"
    objMail.Body = "I owe you 50"
    objMail.Send
    Set objMail = Nothing

  3. #3
    Join Date
    Dec 2002
    Location
    india
    Posts
    10

    CDONTS

    Hi friend,

    In IIS SMTP is not running but exchange server and every thing is being installed. but still SMTP service is not started. how to solve this

  4. #4
    Join Date
    Nov 2002
    Posts
    15
    IIS's SMTP & Exchange's SMTP are different beasts I do not know if a cdonts call will correctly address the Exchange smpt service.

  5. #5
    Join Date
    Dec 2002
    Posts
    54

    Re: CDONTS

    Originally posted by gubendran
    Hi friend,

    In IIS SMTP is not running but exchange server and every thing is being installed. but still SMTP service is not started. how to solve this
    HI..
    Try to start the SMTP services of IIS as CDONTS will give call to IIS SMTP services. If it still not working then I will suggest you to reinstall the IIS with all its component. You may get all components in Advance option during installation.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles