|
|
|
|
|
| | |
|
Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
CDONTS Again |
From: |
Terry McCann |
Date: |
11/3/1999 10:25:21 AM |
IP: |
193.195.13.2 |
Basic question about CDONTS again.
I added the SMTP from Option Pack 4 on our web server and then tried the following code out
Dim oMailMessage
Instantiate a NewMail object
Set oMailMessage = Server.CreateObject("CDONTS.NewMail")
Send an email to to@somewhere.com from from@somewhere.com
oMailMessage.from = "t.mccann@kainos.com"
oMailMessage.to = "t.mccann@kainos.com"
oMailMessage.subject = "Sending Messages in ASP Code"
oMailMessage.body = "Wow - This is cool!"
oMailMessage.Send()
Release the NewMail object
Set oMailMessage = Nothing Release the object
The problem is every time I try to run it I get the following error message:
Server object error ASP 0177 : 800401f3
Server.CreateObject Failed
/kudos/Product Set List/mail.inc, line 22
Invalid class string
Any help greatly appreciated
Terry
|
|
|
|
|
|
|
|
|
|
|
|
|