the relevant code

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

    the relevant code

    Dim NewMail
    Set NewMail = CreateObject("C DO.Message")
    NewMail.To = "xxx@ourcompany .com"
    NewMail.From = "xxxxx@ourcompa ny.com"
  • John Beschler

    #2
    the relevant code

    What line is the error occuring on.

    Also, I suspect that the object names may have changed
    between your previous server and W2K3.

    In NT and 2000 we use Server.Createob ject("CDONTS.Ne wMail")


    John


    [color=blue]
    >-----Original Message-----
    > Dim NewMail
    > Set NewMail = CreateObject("C DO.Message")
    > NewMail.To = "xxx@ourcompany .com"
    > NewMail.From = "xxxxx@ourcompa ny.com"
    > .
    > .
    > .
    > NewMail.HtmlBod y = Body
    > NewMail.Send
    > Set NewMail = Nothing
    >
    >ASP extensions are allowed.
    >[color=green]
    >>-----Original Message-----
    >>Using Windows Server 2003.
    >>My asp app is using cdosys to send an email
    >>through my ISP.
    >>
    >>My error in browser is: error '800a01b6'
    >>Object doesn't support this property or method
    >>
    >>However this asp functionality worked fine before trying
    >>to implement on Win Server 2003.
    >>
    >>I suspect that the problem has to do with
    >>SMTP configuration possibly related to ISP.
    >>
    >>Any Suggestions or experience with this?
    >>
    >>Regards,
    >>
    >>Khaled
    >>
    >>
    >>.
    >>[/color]
    >.
    >[/color]

    Comment

    Working...