This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: trigger an e mail
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: trigger an e mail
- From: "Raimond Brookman" <nucleon at tebenet dot nl>
- Date: Wed, 17 May 2000 22:25:45 +0200
- References: <000601bfbfba$4fcb2980$3c01a8c0@innovatec.com.mx>
- Reply-To: xsl-list at mulberrytech dot com
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@innovatec.com.mx>
To: <xsl-list@mulberrytech.com>
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@innovatec.com.mx"
myMail.To = "alvarezm@innovatec.com.mx"
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