CDONTS install

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

    CDONTS install

    I have a dedicated windows server on BlueGenesis.

    I'd like to send an email using ASP, but I'm getting this error message:

    Microsoft VBScript runtime error '800a01ad'

    ActiveX component can't create object: 'CDONTS.NewMail '

    I'm told that is because CDONTS is not installed.

    So, how do I install cdonts or some other asp mail program. How much
    is that going to cost?

    I'm a perl programmer and I'm always a little shocked at what is not
    built into ASP!!! No less so than now.

    Jeff
  • Kyle Peterson

    #2
    Re: CDONTS install

    Use CDOSYS.. it's built in and free




    And perl sucks ass to work with IMO, I couldn't have been more happy many
    years back when I didn't have to work with that crap anymore.




    "Jeff" <dont_bug_me@al l.ukwrote in message
    news:SioCg.1697 $Sn3.1513@newsr ead3.news.pas.e arthlink.net...
    I have a dedicated windows server on BlueGenesis.
    >
    I'd like to send an email using ASP, but I'm getting this error message:
    >
    Microsoft VBScript runtime error '800a01ad'
    >
    ActiveX component can't create object: 'CDONTS.NewMail '
    >
    I'm told that is because CDONTS is not installed.
    >
    So, how do I install cdonts or some other asp mail program. How much is
    that going to cost?
    >
    I'm a perl programmer and I'm always a little shocked at what is not
    built into ASP!!! No less so than now.
    >
    Jeff

    Comment

    • Jeff

      #3
      Re: CDONTS install

      Kyle Peterson wrote:
      Use CDOSYS.. it's built in and free
      >
      http://www.powerasp.com/content/new/...ail_cdosys.asp
      Thanks, This looks like it might work. No errors, but no emails yet
      either...

      >
      And perl sucks ass to work with IMO, I couldn't have been more happy many
      years back when I didn't have to work with that crap anymore.
      Really? I find it terribly annoying to have to string stuff together
      like this:

      Dim Message

      Message = "first line"
      Message = Message & "second line"
      Message = Message & "third line"


      when I can do this:

      my $Message =q{

      First line
      Second Line
      third line
      and so on
      and soon
      };

      Or 2 other ways....

      and to send that as an email:

      open(SENDMAIL, "|$sendmail_pat h -oi -t ") or die $!;
      print SENDMAIL <<EOF;
      To: some addess
      From: some_ from
      Subject: $subject

      $Message

      EOF

      close(SENDMAIL) ;

      or to save that as a file:

      open(IF,">$file path");
      print $Message;
      close IF;


      I also like that perl gives human readable error messages, I guess
      YMMV. And I like that if the server/OS gets upgraded, everything still
      works. And I like that perl runs fine on any server, including windows.

      Cheers,
      Jeff

      >
      >
      >
      >
      "Jeff" <dont_bug_me@al l.ukwrote in message
      news:SioCg.1697 $Sn3.1513@newsr ead3.news.pas.e arthlink.net...
      >
      > I have a dedicated windows server on BlueGenesis.
      >>
      > I'd like to send an email using ASP, but I'm getting this error message:
      >>
      >>Microsoft VBScript runtime error '800a01ad'
      >>
      >>ActiveX component can't create object: 'CDONTS.NewMail '
      >>
      >>I'm told that is because CDONTS is not installed.
      >>
      > So, how do I install cdonts or some other asp mail program. How much is
      >>that going to cost?
      >>
      > I'm a perl programmer and I'm always a little shocked at what is not
      >>built into ASP!!! No less so than now.
      >>
      > Jeff
      >
      >
      >

      Comment

      • Mike Brind

        #4
        Re: CDONTS install


        Jeff wrote:
        Kyle Peterson wrote:
        Use CDOSYS.. it's built in and free

        http://www.powerasp.com/content/new/...ail_cdosys.asp
        >
        Thanks, This looks like it might work. No errors, but no emails yet
        either...
        Check your mailroot pickup and queue folders. It might be lurking
        there somewhere... Alternatively, check that your hosting company has
        set up the SMTP server correctly on the dedicated server.

        And perl sucks ass to work with IMO, I couldn't have been more happy many
        years back when I didn't have to work with that crap anymore.
        >
        Really? I find it terribly annoying to have to string stuff together
        like this:
        >
        Dim Message
        >
        Message = "first line"
        Message = Message & "second line"
        Message = Message & "third line"
        >
        >
        So do I, which is why I do this:

        Dim Message
        Message = "first line" & _
        "second line" & _
        "third line"

        Redefining the value of a string variant on each line as in your
        example can be quite an expensive operation....

        --
        Mike Brind

        Comment

        • Kyle Peterson

          #5
          Re: CDONTS install

          then use perl


          "Jeff" <dont_bug_me@al l.ukwrote in message
          news:qDpCg.2070 $Qf.1104@newsre ad2.news.pas.ea rthlink.net...
          Kyle Peterson wrote:
          >Use CDOSYS.. it's built in and free
          >>
          >http://www.powerasp.com/content/new/...ail_cdosys.asp
          >
          Thanks, This looks like it might work. No errors, but no emails yet
          either...
          >
          >http://www.powerasp.com/content/new/...ing_cdosys.asp
          >>
          >And perl sucks ass to work with IMO, I couldn't have been more happy many
          >years back when I didn't have to work with that crap anymore.
          >
          Really? I find it terribly annoying to have to string stuff together like
          this:
          >
          Dim Message
          >
          Message = "first line"
          Message = Message & "second line"
          Message = Message & "third line"
          >
          >
          when I can do this:
          >
          my $Message =q{
          >
          First line
          Second Line
          third line
          and so on
          and soon
          };
          >
          Or 2 other ways....
          >
          and to send that as an email:
          >
          open(SENDMAIL, "|$sendmail_pat h -oi -t ") or die $!;
          print SENDMAIL <<EOF;
          To: some addess
          From: some_ from
          Subject: $subject
          >
          $Message
          >
          EOF
          >
          close(SENDMAIL) ;
          >
          or to save that as a file:
          >
          open(IF,">$file path");
          print $Message;
          close IF;
          >
          >
          I also like that perl gives human readable error messages, I guess
          YMMV. And I like that if the server/OS gets upgraded, everything still
          works. And I like that perl runs fine on any server, including windows.
          >
          Cheers,
          Jeff
          >
          >
          >>
          >>
          >>
          >>
          >"Jeff" <dont_bug_me@al l.ukwrote in message
          >news:SioCg.169 7$Sn3.1513@news read3.news.pas. earthlink.net.. .
          >>
          >> I have a dedicated windows server on BlueGenesis.
          >>>
          >> I'd like to send an email using ASP, but I'm getting this error
          >>message:
          >>>
          >>>Microsoft VBScript runtime error '800a01ad'
          >>>
          >>>ActiveX component can't create object: 'CDONTS.NewMail '
          >>>
          >>>I'm told that is because CDONTS is not installed.
          >>>
          >> So, how do I install cdonts or some other asp mail program. How much is
          >>that going to cost?
          >>>
          >> I'm a perl programmer and I'm always a little shocked at what is not
          >>built into ASP!!! No less so than now.
          >>>
          >> Jeff
          >>
          >>
          >>
          >

          Comment

          • Dave Anderson

            #6
            Re: CDONTS install

            Jeff wrote:
            I find it terribly annoying to have to string stuff together
            like this:
            >
            Dim Message
            >
            Message = "first line"
            Message = Message & "second line"
            Message = Message & "third line"
            Who told you you have to use VBScript in ASP? Or for that matter, that there
            is only one way to concatenate in VBScript?

            VBScript alternative:
            Message = "first line" &_
            "second line" &_
            "third line"

            JScript:
            Message = "first line" +
            "second line" +
            "third line"

            JScript alternative:
            Message = ["first line"]
            Message.push("s econd line")
            Message.push("t hird line")
            // Message.join("\ r\n") returns string with breaks between lines

            Or a dozen other ways. Your ignorance of them does not mean they do not
            exist.

            and to send that as an email:
            >
            open(SENDMAIL, "|$sendmail_pat h -oi -t ") or die $!;
            print SENDMAIL <<EOF;
            To: some addess
            From: some_ from
            Subject: $subject
            >
            $Message
            >
            EOF
            How is that different from this?

            var MSG = Server.CreateOb ject("CDO.Messa ge")
            MSG.To = {some address}
            MSG.From = {some address}
            MSG.Subject = {Some subject}
            MSG.TextBody = Message.join("\ r\n") // from example above
            MSG.Send()


            I also like that perl gives human readable error messages,
            I guess YMMV.
            This human read ASP errors every day. Few surprise me. Ever.


            And I like that if the server/OS gets upgraded, everything
            still works. And I like that perl runs fine on any server,
            including windows.
            Nobody is stopping you from using perl. Have at it.



            --
            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

            • Jeff

              #7
              Re: CDONTS install

              Mike Brind wrote:
              Jeff wrote:
              >
              >>Kyle Peterson wrote:
              >>
              >>>Use CDOSYS.. it's built in and free
              >>>
              >>>http://www.powerasp.com/content/new/...ail_cdosys.asp
              >>
              >>Thanks, This looks like it might work. No errors, but no emails yet
              >>either...
              >
              >
              Check your mailroot pickup and queue folders. It might be lurking
              there somewhere... Alternatively, check that your hosting company has
              set up the SMTP server correctly on the dedicated server.
              I'm betting that the SMTP server is not setup correctly since it's been
              a while since the message were sent. Does everything in IIS6 go out
              using the SMTP server and are these "server objects" just differen ways
              of calling it?

              I can login using remote desktop, what should I look for? This is
              IIS6 and the support is terrible at BlueGenesis, didn't used to be....
              >
              >
              >
              >>>And perl sucks ass to work with IMO, I couldn't have been more happy many
              >>>years back when I didn't have to work with that crap anymore.
              >>
              >>Really? I find it terribly annoying to have to string stuff together
              >>like this:
              >>
              >>Dim Message
              >>
              >>Message = "first line"
              >>Message = Message & "second line"
              >>Message = Message & "third line"
              >>
              >>
              >
              >
              So do I, which is why I do this:
              >
              Dim Message
              Message = "first line" & _
              "second line" & _
              "third line"
              Thanks, I'll do that instead. I still prefer "here docs", but you got to
              use what you have!

              Cheers,
              Jeff
              >
              Redefining the value of a string variant on each line as in your
              example can be quite an expensive operation....
              >
              --
              Mike Brind
              >

              Comment

              • Jeff

                #8
                Re: CDONTS install

                Kyle Peterson wrote:
                then use perl
                Correct me if I'm wrong, but isn't ASP the only way possible to have a
                server side progress bar for file uploads? I know you can't do that in
                perl or PHP because the whole file is slurped in before any code is
                executed. I'm pretty sure, but not positive, that .net works the same way.

                I'm sure that you prefer ASP because you are more familiar with it,
                the same is true for my choices.

                Jeff
                >
                >
                "Jeff" <dont_bug_me@al l.ukwrote in message
                news:qDpCg.2070 $Qf.1104@newsre ad2.news.pas.ea rthlink.net...
                >
                >>Kyle Peterson wrote:
                >>
                >>>Use CDOSYS.. it's built in and free
                >>>
                >>>http://www.powerasp.com/content/new/...ail_cdosys.asp
                >>
                >>Thanks, This looks like it might work. No errors, but no emails yet
                >>either...
                >>
                >>
                >>>http://www.powerasp.com/content/new/...ing_cdosys.asp
                >>>
                >>>And perl sucks ass to work with IMO, I couldn't have been more happy many
                >>>years back when I didn't have to work with that crap anymore.
                >>
                >>Really? I find it terribly annoying to have to string stuff together like
                >>this:
                >>
                >>Dim Message
                >>
                >>Message = "first line"
                >>Message = Message & "second line"
                >>Message = Message & "third line"
                >>
                >>
                >>when I can do this:
                >>
                >>my $Message =q{
                >>
                >>First line
                >>Second Line
                >>third line
                >>and so on
                >>and soon
                >>};
                >>
                >>Or 2 other ways....
                >>
                >>and to send that as an email:
                >>
                >>open(SENDMAIL , "|$sendmail_pat h -oi -t ") or die $!;
                >>print SENDMAIL <<EOF;
                >>To: some addess
                >>From: some_ from
                >>Subject: $subject
                >>
                >>$Message
                >>
                >>EOF
                >>
                >>close(SENDMAI L);
                >>
                >>or to save that as a file:
                >>
                >>open(IF,">$fi lepath");
                >>print $Message;
                >>close IF;
                >>
                >>
                >I also like that perl gives human readable error messages, I guess
                >>YMMV. And I like that if the server/OS gets upgraded, everything still
                >>works. And I like that perl runs fine on any server, including windows.
                >>
                > Cheers,
                >>Jeff
                >>
                >>
                >>
                >>>
                >>>
                >>>
                >>>"Jeff" <dont_bug_me@al l.ukwrote in message
                >>>news:SioCg.1 697$Sn3.1513@ne wsread3.news.pa s.earthlink.net ...
                >>>
                >>>
                >>>I have a dedicated windows server on BlueGenesis.
                >>>>
                >>>I'd like to send an email using ASP, but I'm getting this error
                >>>>message:
                >>>>
                >>>>Microsoft VBScript runtime error '800a01ad'
                >>>>
                >>>>ActiveX component can't create object: 'CDONTS.NewMail '
                >>>>
                >>>>I'm told that is because CDONTS is not installed.
                >>>>
                >>>So, how do I install cdonts or some other asp mail program. How much is
                >>>>that going to cost?
                >>>>
                >>>I'm a perl programmer and I'm always a little shocked at what is not
                >>>>built into ASP!!! No less so than now.
                >>>>
                >>>Jeff
                >>>
                >>>
                >>>
                >
                >

                Comment

                • Mike Brind

                  #9
                  Re: CDONTS install


                  Jeff wrote:
                  Mike Brind wrote:
                  Jeff wrote:
                  >Kyle Peterson wrote:
                  >
                  >>Use CDOSYS.. it's built in and free
                  >>
                  >>http://www.powerasp.com/content/new/...ail_cdosys.asp
                  >
                  >Thanks, This looks like it might work. No errors, but no emails yet
                  >either...

                  Check your mailroot pickup and queue folders. It might be lurking
                  there somewhere... Alternatively, check that your hosting company has
                  set up the SMTP server correctly on the dedicated server.
                  >
                  I'm betting that the SMTP server is not setup correctly since it's been
                  a while since the message were sent. Does everything in IIS6 go out
                  using the SMTP server and are these "server objects" just differen ways
                  of calling it?
                  >
                  I can login using remote desktop, what should I look for? This is
                  IIS6 and the support is terrible at BlueGenesis, didn't used to be....
                  This is where I get a little out of my depth. Not that familiar with
                  IIS6, but I suspect that C:\Inetpub\mail root contains the folders. Try
                  there first. (Pickup, Queue, BadMail). You might want to find out
                  whether the IIS SMTP service is in fact running, and that they haven't
                  stuck ASPEMail or some other component on there instead....

                  On my dedicated server, CDO code will not throw errors, but it won't
                  send. The mail server they set up on it is MailEnable.

                  Your hosting company should sort this out for you. If they are
                  complete rubbish, can 'em. Good dedicated server hosts are 10 a penny,
                  and that kind of package is rarely cheap.

                  --
                  Mike Brind

                  Comment

                  • Kyle Peterson

                    #10
                    Re: CDONTS install

                    If you got a question about progress bars I suggest you start a new thread.

                    As for Perl I used it for over 5 years and I know Perl so there is no need
                    to keep showing me your little examples.

                    As for CDOSYS emails not sending try sending the emails using a real email
                    server and eliminate your doubts about whether smtp is running... those
                    articles cover that scenario with cdosys as well.




                    "Jeff" <dont_bug_me@al l.ukwrote in message
                    news:_crCg.2108 $Qf.1845@newsre ad2.news.pas.ea rthlink.net...
                    Kyle Peterson wrote:
                    >
                    >then use perl
                    >
                    Correct me if I'm wrong, but isn't ASP the only way possible to have a
                    server side progress bar for file uploads? I know you can't do that in
                    perl or PHP because the whole file is slurped in before any code is
                    executed. I'm pretty sure, but not positive, that .net works the same way.
                    >
                    I'm sure that you prefer ASP because you are more familiar with it, the
                    same is true for my choices.
                    >
                    Jeff
                    >>
                    >>
                    >"Jeff" <dont_bug_me@al l.ukwrote in message
                    >news:qDpCg.207 0$Qf.1104@newsr ead2.news.pas.e arthlink.net...
                    >>
                    >>>Kyle Peterson wrote:
                    >>>
                    >>>>Use CDOSYS.. it's built in and free
                    >>>>
                    >>>>http://www.powerasp.com/content/new/...ail_cdosys.asp
                    >>>
                    >>>Thanks, This looks like it might work. No errors, but no emails yet
                    >>>either...
                    >>>
                    >>>
                    >>>>http://www.powerasp.com/content/new/...ing_cdosys.asp
                    >>>>
                    >>>>And perl sucks ass to work with IMO, I couldn't have been more happy
                    >>>>many years back when I didn't have to work with that crap anymore.
                    >>>
                    >>>Really? I find it terribly annoying to have to string stuff together like
                    >>>this:
                    >>>
                    >>>Dim Message
                    >>>
                    >>>Message = "first line"
                    >>>Message = Message & "second line"
                    >>>Message = Message & "third line"
                    >>>
                    >>>
                    >>>when I can do this:
                    >>>
                    >>>my $Message =q{
                    >>>
                    >>>First line
                    >>>Second Line
                    >>>third line
                    >>>and so on
                    >>>and soon
                    >>>};
                    >>>
                    >>>Or 2 other ways....
                    >>>
                    >>>and to send that as an email:
                    >>>
                    >>>open(SENDMAI L, "|$sendmail_pat h -oi -t ") or die $!;
                    >>>print SENDMAIL <<EOF;
                    >>>To: some addess
                    >>>From: some_ from
                    >>>Subject: $subject
                    >>>
                    >>>$Message
                    >>>
                    >>>EOF
                    >>>
                    >>>close(SENDMA IL);
                    >>>
                    >>>or to save that as a file:
                    >>>
                    >>>open(IF,">$f ilepath");
                    >>>print $Message;
                    >>>close IF;
                    >>>
                    >>>
                    >>I also like that perl gives human readable error messages, I guess
                    >>>YMMV. And I like that if the server/OS gets upgraded, everything still
                    >>>works. And I like that perl runs fine on any server, including windows.
                    >>>
                    >> Cheers,
                    >>>Jeff
                    >>>
                    >>>
                    >>>
                    >>>>
                    >>>>
                    >>>>
                    >>>>"Jeff" <dont_bug_me@al l.ukwrote in message
                    >>>>news:SioCg. 1697$Sn3.1513@n ewsread3.news.p as.earthlink.ne t...
                    >>>>
                    >>>>
                    >>>>I have a dedicated windows server on BlueGenesis.
                    >>>>>
                    >>>>I'd like to send an email using ASP, but I'm getting this error
                    >>>>message:
                    >>>>>
                    >>>>>Microsof t VBScript runtime error '800a01ad'
                    >>>>>
                    >>>>>ActiveX component can't create object: 'CDONTS.NewMail '
                    >>>>>
                    >>>>>I'm told that is because CDONTS is not installed.
                    >>>>>
                    >>>>So, how do I install cdonts or some other asp mail program. How much
                    >>>>is that going to cost?
                    >>>>>
                    >>>>I'm a perl programmer and I'm always a little shocked at what is not
                    >>>>built into ASP!!! No less so than now.
                    >>>>>
                    >>>>Jeff
                    >>>>
                    >>>>
                    >>>>
                    >>

                    Comment

                    • Justin Piper

                      #11
                      Re: CDONTS install

                      On Wed, 09 Aug 2006 11:45:38 -0500, Jeff <dont_bug_me@al l.ukwrote:
                      I'm a perl programmer and I'm always a little shocked at what is not
                      built into ASP!!! No less so than now.
                      Perhaps you're aware of this already, but ActiveState's distribution can
                      be used under ASP.

                      ActivePerl 5.8 - Online Docs: Active Server Pages


                      --
                      Justin Piper
                      Bizco Technologies
                      We help businesses optimize efficiency with information technology, audio-visual, and mobility solutions through predictable pricing and dependable support.

                      Comment

                      • Jeff

                        #12
                        Re: CDONTS install

                        Kyle Peterson wrote:
                        If you got a question about progress bars I suggest you start a new thread.
                        >
                        As for Perl I used it for over 5 years and I know Perl so there is no need
                        to keep showing me your little examples.
                        I only posted once what annoys me about ASP. You can be as simple or as
                        complex with perl as you wish and it is all free. I have no desire to
                        argue this, but if you want to tell me what you hate about perl, I'll
                        listen.
                        >
                        As for CDOSYS emails not sending try sending the emails using a real email
                        server and eliminate your doubts about whether smtp is running... those
                        articles cover that scenario with cdosys as well.
                        I'm not sure what you mean there. I figured that cdosys is the
                        interface for smtp, or am I wrong? What do you mean by a real mail server?

                        I don't know much about windows 2003, except that it is different
                        enough than windows 2000 that I can't find things where I thought they
                        were.

                        Jeff


                        >
                        >
                        >
                        >
                        "Jeff" <dont_bug_me@al l.ukwrote in message
                        news:_crCg.2108 $Qf.1845@newsre ad2.news.pas.ea rthlink.net...
                        >
                        >>Kyle Peterson wrote:
                        >>
                        >>
                        >>>then use perl
                        >>
                        >>Correct me if I'm wrong, but isn't ASP the only way possible to have a
                        >>server side progress bar for file uploads? I know you can't do that in
                        >>perl or PHP because the whole file is slurped in before any code is
                        >>executed. I'm pretty sure, but not positive, that .net works the same way.
                        >>
                        > I'm sure that you prefer ASP because you are more familiar with it, the
                        >>same is true for my choices.
                        >>
                        > Jeff
                        >>
                        >>>
                        >>>"Jeff" <dont_bug_me@al l.ukwrote in message
                        >>>news:qDpCg.2 070$Qf.1104@new sread2.news.pas .earthlink.net. ..
                        >>>
                        >>>
                        >>>>Kyle Peterson wrote:
                        >>>>
                        >>>>
                        >>>>>Use CDOSYS.. it's built in and free
                        >>>>>
                        >>>>>http://www.powerasp.com/content/new/...ail_cdosys.asp
                        >>>>
                        >>>>Thanks, This looks like it might work. No errors, but no emails yet
                        >>>>either...
                        >>>>
                        >>>>
                        >>>>
                        >>>>>http://www.powerasp.com/content/new/...ing_cdosys.asp
                        >>>>>
                        >>>>>And perl sucks ass to work with IMO, I couldn't have been more happy
                        >>>>>many years back when I didn't have to work with that crap anymore.
                        >>>>
                        >>>>Really? I find it terribly annoying to have to string stuff together like
                        >>>>this:
                        >>>>
                        >>>>Dim Message
                        >>>>
                        >>>>Message = "first line"
                        >>>>Message = Message & "second line"
                        >>>>Message = Message & "third line"
                        >>>>
                        >>>>
                        >>>>when I can do this:
                        >>>>
                        >>>>my $Message =q{
                        >>>>
                        >>>>First line
                        >>>>Second Line
                        >>>>third line
                        >>>>and so on
                        >>>>and soon
                        >>>>};
                        >>>>
                        >>>>Or 2 other ways....
                        >>>>
                        >>>>and to send that as an email:
                        >>>>
                        >>>>open(SENDMA IL, "|$sendmail_pat h -oi -t ") or die $!;
                        >>>>print SENDMAIL <<EOF;
                        >>>>To: some addess
                        >>>>From: some_ from
                        >>>>Subject: $subject
                        >>>>
                        >>>>$Message
                        >>>>
                        >>>>EOF
                        >>>>
                        >>>>close(SENDM AIL);
                        >>>>
                        >>>>or to save that as a file:
                        >>>>
                        >>>>open(IF,">$ filepath");
                        >>>>print $Message;
                        >>>>close IF;
                        >>>>
                        >>>>
                        >>>>I also like that perl gives human readable error messages, I guess
                        >>>>YMMV. And I like that if the server/OS gets upgraded, everything still
                        >>>>works. And I like that perl runs fine on any server, including windows.
                        >>>>
                        >>>Cheers,
                        >>>>Jeff
                        >>>>
                        >>>>
                        >>>>
                        >>>>
                        >>>>>
                        >>>>>
                        >>>>>"Jeff" <dont_bug_me@al l.ukwrote in message
                        >>>>>news:SioCg .1697$Sn3.1513@ newsread3.news. pas.earthlink.n et...
                        >>>>>
                        >>>>>
                        >>>>>
                        >>>>>>I have a dedicated windows server on BlueGenesis.
                        >>>>>>
                        >>>>>>I'd like to send an email using ASP, but I'm getting this error
                        >>>>>>message :
                        >>>>>>
                        >>>>>>Microso ft VBScript runtime error '800a01ad'
                        >>>>>>
                        >>>>>>ActiveX component can't create object: 'CDONTS.NewMail '
                        >>>>>>
                        >>>>>>I'm told that is because CDONTS is not installed.
                        >>>>>>
                        >>>>>>So, how do I install cdonts or some other asp mail program. How much
                        >>>>>>is that going to cost?
                        >>>>>>
                        >>>>>>I'm a perl programmer and I'm always a little shocked at what is not
                        >>>>>>built into ASP!!! No less so than now.
                        >>>>>>
                        >>>>>>Jeff
                        >>>>>
                        >>>>>
                        >>>>>
                        >

                        Comment

                        • Kyle Peterson

                          #13
                          Re: CDONTS install

                          dude, did you read the article


                          it is all explained in great detail.. I don't see how I could explain it any
                          better

                          CDOSYS can be used in all sorts of ways, many more than that article even
                          gets into




                          "Jeff" <dont_bug_me@al l.ukwrote in message
                          news:ratCg.2173 $Qf.1148@newsre ad2.news.pas.ea rthlink.net...
                          Kyle Peterson wrote:
                          >If you got a question about progress bars I suggest you start a new
                          >thread.
                          >>
                          >As for Perl I used it for over 5 years and I know Perl so there is no
                          >need to keep showing me your little examples.
                          >
                          I only posted once what annoys me about ASP. You can be as simple or as
                          complex with perl as you wish and it is all free. I have no desire to
                          argue this, but if you want to tell me what you hate about perl, I'll
                          listen.
                          >>
                          >As for CDOSYS emails not sending try sending the emails using a real
                          >email server and eliminate your doubts about whether smtp is running...
                          >those articles cover that scenario with cdosys as well.
                          >
                          I'm not sure what you mean there. I figured that cdosys is the interface
                          for smtp, or am I wrong? What do you mean by a real mail server?
                          >
                          I don't know much about windows 2003, except that it is different enough
                          than windows 2000 that I can't find things where I thought they were.
                          >
                          Jeff
                          >
                          >
                          >
                          >>
                          >>
                          >>
                          >>
                          >"Jeff" <dont_bug_me@al l.ukwrote in message
                          >news:_crCg.210 8$Qf.1845@newsr ead2.news.pas.e arthlink.net...
                          >>
                          >>>Kyle Peterson wrote:
                          >>>
                          >>>
                          >>>>then use perl
                          >>>
                          >>>Correct me if I'm wrong, but isn't ASP the only way possible to have a
                          >>>server side progress bar for file uploads? I know you can't do that in
                          >>>perl or PHP because the whole file is slurped in before any code is
                          >>>executed. I'm pretty sure, but not positive, that .net works the same
                          >>>way.
                          >>>
                          >> I'm sure that you prefer ASP because you are more familiar with it, the
                          >>same is true for my choices.
                          >>>
                          >> Jeff
                          >>>
                          >>>>
                          >>>>"Jeff" <dont_bug_me@al l.ukwrote in message
                          >>>>news:qDpCg. 2070$Qf.1104@ne wsread2.news.pa s.earthlink.net ...
                          >>>>
                          >>>>
                          >>>>>Kyle Peterson wrote:
                          >>>>>
                          >>>>>
                          >>>>>>Use CDOSYS.. it's built in and free
                          >>>>>>
                          >>>>>>http://www.powerasp.com/content/new/...ail_cdosys.asp
                          >>>>>
                          >>>>>Thanks, This looks like it might work. No errors, but no emails yet
                          >>>>>either.. .
                          >>>>>
                          >>>>>
                          >>>>>
                          >>>>>>http://www.powerasp.com/content/new/...ing_cdosys.asp
                          >>>>>>
                          >>>>>>And perl sucks ass to work with IMO, I couldn't have been more happy
                          >>>>>>many years back when I didn't have to work with that crap anymore.
                          >>>>>
                          >>>>>Really? I find it terribly annoying to have to string stuff together
                          >>>>>like this:
                          >>>>>
                          >>>>>Dim Message
                          >>>>>
                          >>>>>Message = "first line"
                          >>>>>Message = Message & "second line"
                          >>>>>Message = Message & "third line"
                          >>>>>
                          >>>>>
                          >>>>>when I can do this:
                          >>>>>
                          >>>>>my $Message =q{
                          >>>>>
                          >>>>>First line
                          >>>>>Second Line
                          >>>>>third line
                          >>>>>and so on
                          >>>>>and soon
                          >>>>>};
                          >>>>>
                          >>>>>Or 2 other ways....
                          >>>>>
                          >>>>>and to send that as an email:
                          >>>>>
                          >>>>>open(SENDM AIL, "|$sendmail_pat h -oi -t ") or die $!;
                          >>>>>print SENDMAIL <<EOF;
                          >>>>>To: some addess
                          >>>>>From: some_ from
                          >>>>>Subject: $subject
                          >>>>>
                          >>>>>$Message
                          >>>>>
                          >>>>>EOF
                          >>>>>
                          >>>>>close(SEND MAIL);
                          >>>>>
                          >>>>>or to save that as a file:
                          >>>>>
                          >>>>>open(IF,"> $filepath");
                          >>>>>print $Message;
                          >>>>>close IF;
                          >>>>>
                          >>>>>
                          >>>>>I also like that perl gives human readable error messages, I guess
                          >>>>>YMMV. And I like that if the server/OS gets upgraded, everything still
                          >>>>>works. And I like that perl runs fine on any server, including windows.
                          >>>>>
                          >>>>Cheers,
                          >>>>>Jeff
                          >>>>>
                          >>>>>
                          >>>>>
                          >>>>>
                          >>>>>>
                          >>>>>>
                          >>>>>>"Jeff" <dont_bug_me@al l.ukwrote in message
                          >>>>>>news:SioC g.1697$Sn3.1513 @newsread3.news .pas.earthlink. net...
                          >>>>>>
                          >>>>>>
                          >>>>>>
                          >>>>>>>I have a dedicated windows server on BlueGenesis.
                          >>>>>>>
                          >>>>>>>I'd like to send an email using ASP, but I'm getting this error
                          >>>>>>>messag e:
                          >>>>>>>
                          >>>>>>>Microsof t VBScript runtime error '800a01ad'
                          >>>>>>>
                          >>>>>>>Active X component can't create object: 'CDONTS.NewMail '
                          >>>>>>>
                          >>>>>>>I'm told that is because CDONTS is not installed.
                          >>>>>>>
                          >>>>>>>So, how do I install cdonts or some other asp mail program. How much
                          >>>>>>>is that going to cost?
                          >>>>>>>
                          >>>>>>>I'm a perl programmer and I'm always a little shocked at what is not
                          >>>>>>>built into ASP!!! No less so than now.
                          >>>>>>>
                          >>>>>>>Jeff
                          >>>>>>
                          >>>>>>
                          >>>>>>
                          >>

                          Comment

                          Working...