vanillapod
MIS
Hi, I'm totally new to using CNDONTs anyway I've got XP Pro with SMTP option installed. I'm just trying to send one simple message at the moment to get the hang of it all. I keep getting the rror msg below. I've pasted the page code below that....
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/internalaudit/EmailFile.asp, line 4
My page reads:
<%@LANGUAGE="VBSCRIPT"%>
<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail"
objMail.From = "Me@me.org"
objMail.Subject = "How TO send email with CDONTS"
objMail.To = "You@you.com"
objMail.Body = "This is an email message" & vbcrlf&_
"with CDONTS." & vbcrlf&_
"It is really easy. "
objMail.Send
Response.write("Mail was Sent"
'You must always do this with CDONTS.
set objMail = nothing
%>
Any help'd be cool. Cheers
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/internalaudit/EmailFile.asp, line 4
My page reads:
<%@LANGUAGE="VBSCRIPT"%>
<%
Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail"
objMail.From = "Me@me.org"
objMail.Subject = "How TO send email with CDONTS"
objMail.To = "You@you.com"
objMail.Body = "This is an email message" & vbcrlf&_
"with CDONTS." & vbcrlf&_
"It is really easy. "
objMail.Send
Response.write("Mail was Sent"
'You must always do this with CDONTS.
set objMail = nothing
%>
Any help'd be cool. Cheers