Results 1 to 8 of 8

Thread: emailing using cdo

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    81
    i have an IIS server i wan tto do emails from and created a form to send an email and when i try to run it i get the following error:

    "Server object error 'ASP 0177 : 800401f3'

    Server.CreateObject Failed

    /password/emailforms/TMP65do59dzdo.asp, line 8

    Invalid class string "

    here is my code:
    please tell me what im doing wrong??/

    <html>
    <head><title>Sending Email with CDONTS</title></head>
    <body bgcolor="#FFFFFF">
    <%
    Dim Email

    'Create a new instance of the NewMail object
    Set Email = Server.CreateObject("CDONTS.Newmail")

    Email.From = "[email protected]"


    Email.To = "[email protected]"

    Email.Subject = "Sending Email"

    Email.Body = "An email from your server :-)"

    'Sets the priority of the message
    Email.Priority = 1

    Email.Send

    Set Email = Nothing
    %>
    </body>
    </html>

  2. #2
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    make sure you have cdonts installed on your server.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Posts
    81

    how do i check that???

    how do i check if its installed on my server i thought it comes standard with IIS ???...is it on a service pack or something????

  4. #4
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    It doesnt always install for some reason. I think the file is just cdonts.dll you can search for that. If it is there try unregistering and reregistering it.

  5. #5
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    you have to have your SMTP service running and configured as well (I don't think there is too much to configuring it)

  6. #6
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    nope theres not, really all you have to do is turn it on from my experience

  7. #7
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    Now that I think about it, I was trying to use a smart host to connect to the corporate exchange server, that must be what I was thinking of as far as configuration goes.....

    You're right then jdavidson, no initial configuration needed, thanks for the clarification

  8. #8
    Addicted Member
    Join Date
    Jun 2000
    Location
    Pittsburgh, PA
    Posts
    149
    np

Posting Permissions

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



Click Here to Expand Forum to Full Width