|
-
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>
-
Feb 27th, 2001, 10:43 AM
#2
Addicted Member
make sure you have cdonts installed on your server.
-
Feb 27th, 2001, 02:14 PM
#3
Thread Starter
Lively Member
how do i check that???
how do i check if its installed on my server i thought it comes standard with IIS ???...is it on a service pack or something????
-
Feb 27th, 2001, 02:16 PM
#4
Addicted Member
It doesnt always install for some reason. I think the file is just cdonts.dll you can search for that. If it is there try unregistering and reregistering it.
-
Feb 28th, 2001, 09:57 AM
#5
Guru
you have to have your SMTP service running and configured as well (I don't think there is too much to configuring it)
-
Feb 28th, 2001, 10:22 AM
#6
Addicted Member
nope theres not, really all you have to do is turn it on from my experience
-
Feb 28th, 2001, 10:41 AM
#7
Guru
Now that I think about it, I was trying to use a smart host to connect to the corporate exchange server, that must be what I was thinking of as far as configuration goes.....
You're right then jdavidson, no initial configuration needed, thanks for the clarification
-
Feb 28th, 2001, 10:58 AM
#8
Addicted Member
np
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
|