#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    3
    Rep Power
    0

    Exclamation Help... Cdonts.dll issue or other?


    I need some feed back in how I can correct this error that I keep getting trying to use the cdonts for and email form I am trying to set up.

    Here is the DIM that is set up on an asp of its own:

    <%
    DIM strEmail, strName, strComments, mail, reply, objMail
    strEmail = request.form("Email")
    strName = request.form("Name")
    strComments = request.form("Comments")

    mail = "spiritwinds@sympatico.ca"
    reply = request.form("Email")
    Set objMail = Server.CreateObject("CDONTS.NewMail")
    objMail.From = reply
    objMail.Subject = "YOUR SUBJECT MESSAGE HERE"
    objMail.To = mail
    objMail.Body = "Email: " & strEmail & vbCrLf & _
    "Name: " & strName & vbCrLf & _
    "Comments: " & vbCrLf & strComments

    objMail.Send
    Set objMail = nothing
    %>
    I do have the name of the form on the other asp where you fill in the fields that need to be filled in to send the email.

    They are all correctly pointing to one another .... BUT .. here is the problem .......

    error '80090020'
    An internal error occurred.

    /confirmation.asp, line 17

    Line 17 is the following....

    objMail.Send
    Set objMail = nothing
    I am on IIS5

    Can anyone help with resolving this issue? I would really appreciate the help with this... I am stumped / lol.

    I have given all the info that is needed to see where the error maybe occuring / line 17.

    Thanks,
    Wolfe
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    Argentina
    Posts
    10
    Rep Power
    0

    WinXP


    If U R using Windows XP I read CDONTS doesn't work on it!
    There is another dll to do it but I don't remember wich one (sorry)!

    Ok! Bye!
  4. #3
  5. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,445
    Rep Power
    4539
    Try searching for CDOSYS which is the CDONTS replacement in XP and W2003

IMN logo majestic logo threadwatch logo seochat tools logo