using CDONTS on XP iis 5.1

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default using CDONTS on XP iis 5.1

    Hi Folks. Trying to use ASP to submit data to both an access database and
    to an e-mail address at the same time.
    After downloading the example cdonts from microsoft I pasted the following
    into my email.asp.

    Set myCDONTSMail = CreateObject("CDONTS.NewMail")

    When data is submitted it goes into the access database fine but the e-mail
    never gets generated.

    Instead this message appears:

    a.. Error Type:
    Microsoft VBScript compilation (0x800A0400)
    Expected statement
    /email/email.asp, line 127
    ================================================== =================

    a.. Page:
    POST 123 bytes to /email/email.asp


    I heard that in order for this to work I have to obtain cdonts.dll from a
    win2k machine and then register it.

    Is there an alternative or another answer.

    Thanks.



    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system ([url]http://www.grisoft.com[/url]).
    Version: 6.0.545 / Virus Database: 339 - Release Date: 2003-11-27


    j Guest

  2. Similar Questions and Discussions

    1. cdonts.dll on x64
      Hi... I know I'm probably going to take a lot of grief over this, but we have a pile of legacy code still using CDONTS on 32-bit systems. We're...
    2. CDONTS
      CDO.Message see www.aspfaq.com CDONTS has been phased out. the last OS to include it was Windows 2000
    3. CDONTS vs CDO
      OK, so obviously cdonts doesnt work with ii6. Why its depreciated, i dont know. What i need to know is how to just send a simple email, my old...
    4. CDONTS for IIS 5.1
      Hi all, I'm trying to get a better understanding of how to use CDONTS on a web server, and I find that I don't have it installed on my own. I'm...
    5. CDONTS & BCC
      Hi I have a website hosted on a virtual server, and am trying to run a script that sends an email with a BCC address. The email gets sent just...
  3. #2

    Default Re: using CDONTS on XP iis 5.1

    CDONTS is deprecated. use CDO.Message

    see [url]www.aspfaq.com[/url]



    ________________________________________
    Atrax. MVP, IIS
    [url]http://rtfm.atrax.co.uk/[/url]

    newsflash : Atrax.Richedit 1.0 now released.
    [url]http://rtfm.atrax.co.uk/infinitemonkeys/components/Atrax.RichEdit/[/url]

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Atrax Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139