not CDO neither CDONTS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Giorgio

    not CDO neither CDONTS

    Hi,
    I'm working on this web space: NT4/Windows 98, Microsoft-IIS/4.0,
    66.71.142.204
    I can't send mail with CDO cause i get an error

    <%
    Set myMail = CreateObject("C DO.Message")
    myMail.Subject = "eeeSending email with CDO"
    myMail.From = "mymail@mydomai n.myext"
    myMail.To = "mymail@mydomai n.myext"
    myMail.TextBody = "eeeeThis is a message."
    myMail.Send
    Set myMail = Nothing
    %>

    And with CDONTS, mails don't come

    <%
    Set myMail = Server.CreateOb ject("CDONTS.Ne wMail")
    myMail.Subject = "eeeSending email with CDONTS"
    myMail.From = "mymail@mydomai n.myext"
    myMail.To = "mymail@mydomai n.myext"
    myMail.Body = "eeeeThis is a message."
    myMail.Send
    Set myMail = Nothing
    %>

    How can i solve?

    Thanks


  • Daniel Crichton

    #2
    Re: not CDO neither CDONTS

    Giorgio wrote on Wed, 10 Jan 2007 09:12:52 +0100:
    Hi,
    I'm working on this web space: NT4/Windows 98, Microsoft-IIS/4.0,
    66.71.142.204
    I can't send mail with CDO cause i get an error
    CDO was first introduced in Windows 2000, and is not available in IIS on
    Windows NT 4.
    And with CDONTS, mails don't come

    <%
    Set myMail = Server.CreateOb ject("CDONTS.Ne wMail")
    myMail.Subject = "eeeSending email with CDONTS"
    myMail.From = "mymail@mydomai n.myext"
    myMail.To = "mymail@mydomai n.myext"
    myMail.Body = "eeeeThis is a message."
    myMail.Send
    Set myMail = Nothing
    %>
    >
    How can i solve?
    Check with the admin that the NT 4 Option Pack is installed - CDONTS is not
    installed as part of IIS, it's an optional add-on.

    As you get no error, I'm assuming it's installed. It's possible that it's
    misconfigured, or the SMTP server it's passing the messages to is queueing
    them or dumping them - maybe they haven't added the from and/or to domain to
    their relay settings, or maybe they've just disabled CDONTS in favour of
    another more reliable object.

    Also ask if there is any alternative email object, such as ASPEmail,
    ASPMail, or similar objects.

    Dan


    Comment

    • Dave Anderson

      #3
      Re: not CDO neither CDONTS

      Daniel Crichton wrote:
      Check with the admin that the NT 4 Option Pack is installed -
      CDONTS is not installed as part of IIS, it's an optional add-on.
      IIRC, it is also necessary to ensure that SMTP services are running on the
      web server and configured to relay from the host machine. I don't recall
      seeing a way to point CDONTS messages to an external SMTP server.



      --
      Dave Anderson

      Unsolicited commercial email will be read at a cost of $500 per message. Use
      of this email address implies consent to these terms.


      Comment

      • Giorgio

        #4
        Re: not CDO neither CDONTS


        Thanks to you 2.
        It was a provider problem.


        Comment

        • Daniel Crichton

          #5
          Re: not CDO neither CDONTS

          Dave wrote on Wed, 10 Jan 2007 14:39:53 -0600:
          Daniel Crichton wrote:
          >Check with the admin that the NT 4 Option Pack is installed -
          >CDONTS is not installed as part of IIS, it's an optional add-on.
          >
          IIRC, it is also necessary to ensure that SMTP services are running on the
          web server and configured to relay from the host machine. I don't recall
          seeing a way to point CDONTS messages to an external SMTP server.
          Yeah, my mistake, I'd read how the notes on how to get CDONTS to send via a
          non-local SMTP server and missed the details - apparently it still requires
          a local SMTP server and that has to have it's "Smart Host" setting pointing
          to the non-local server. Yet another good reason not to use CDONTS ...

          Dan


          Comment

          Working...