Johnny23
Feb 26th, 2001, 04:51 PM
i have an IIS server i wan tto do emails from and created a form to send an email and when i try to run it i get the following error:
"Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/password/emailforms/TMP65do59dzdo.asp, line 8
Invalid class string "
here is my code:
please tell me what im doing wrong??/
<html>
<head><title>Sending Email with CDONTS</title></head>
<body bgcolor="#FFFFFF">
<%
Dim Email
'Create a new instance of the NewMail object
Set Email = Server.CreateObject("CDONTS.Newmail")
Email.From = "johnm@people.co.nz"
Email.To = "johnm@people.co.nz"
Email.Subject = "Sending Email"
Email.Body = "An email from your server :-)"
'Sets the priority of the message
Email.Priority = 1
Email.Send
Set Email = Nothing
%>
</body>
</html>
"Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/password/emailforms/TMP65do59dzdo.asp, line 8
Invalid class string "
here is my code:
please tell me what im doing wrong??/
<html>
<head><title>Sending Email with CDONTS</title></head>
<body bgcolor="#FFFFFF">
<%
Dim Email
'Create a new instance of the NewMail object
Set Email = Server.CreateObject("CDONTS.Newmail")
Email.From = "johnm@people.co.nz"
Email.To = "johnm@people.co.nz"
Email.Subject = "Sending Email"
Email.Body = "An email from your server :-)"
'Sets the priority of the message
Email.Priority = 1
Email.Send
Set Email = Nothing
%>
</body>
</html>