|
-
Feb 26th, 2001, 05:51 PM
#1
Thread Starter
Lively Member
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 = "[email protected]"
Email.To = "[email protected]"
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>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|