Re: trigger an e mail

Subject: Re: trigger an e mail
From: "Raimond Brookman" <nucleon@xxxxxxxxxx>
Date: Wed, 17 May 2000 22:25:45 +0200
Although this is completely the wrong list for this question....

You might wanna check that the DLL is registered correctly as it's a COM
DLL.
Just putting it in the  system dir isn't gonna help..

So try :"regsvr32 cdonts.dll"

If it says : successfully registered, it should work then...

Grtz,
Raimond

----- Original Message -----
From: "John Connolly" <johnc@xxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Wednesday, May 17, 2000 6:42 AM
Subject: trigger an e mail


Hi,

 Following  is the rutine that we are using to send e mails automatically.
At the moment of executing the program with this rutine, it show an error:
"run time error 429, ActiveX component can't create object"


  Dim myMail
  Set myMail = CreateObject("CDONTS.NewMail")
   myMail.From = "joseg@xxxxxxxxxxxxxxxx"
   myMail.To = "alvarezm@xxxxxxxxxxxxxxxx"
   myMail.Subject = "New Orders"
   myMail.Body = "This is to inform you of a new order release"
   ' myMail.AttachFile "d:\sample.txt"
   myMail.Send

   Set myMail = Nothing

At first we thought it was because the DLL (cdonts) was not loaded, but we
added that to
c:\windows\system, but the error continues.

Does anyone have a suggestion?

John Connolly,
Innovatec,
Mexico City


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Trigger an e mail
    • johnc - Tue, 16 May 2000 22:30:39 -0600
      • <Possible follow-ups>
      • John Connolly - Tue, 16 May 2000 22:42:28 -0600
        • Raimond Brookman - Wed, 17 May 2000 22:25:45 +0200 <=
      • Ben Robb - Wed, 17 May 2000 08:51:46 +0100