Guest_imported
New member
- Jan 1, 1970
- 0
please help, I cant get a simple email to send server side from a asp page.
this is my error;
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/contact.asp, line 10
Invalid class string
This is the code:
<%@ Language=VBScript %>
<%
Response.Buffer=True
Set smtp = Server.CreateObject("CDO.Message"
smtp.From = "test@emailaddress.com"
smtp.To = "me@emailaddress.com"
smtp.Subject = "email Contact"
smtp.TextBody = "Testing to send Email automatic"
smtp.Send()
'
Set smtp = nothing
%>
The server is NT 4.0 and IIS4 i think. I tried also
set cdosmtp = Server.CreateObject("CDONTS.NewMail"
cdosmtp.Send ("email@address.com", "testing", "Testing this stuff"
Set objMail = Nothing
This also failed. MY book is real vague,and I am not sure if i need to load something on management console?
thanks in advance
-Mike
this is my error;
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/contact.asp, line 10
Invalid class string
This is the code:
<%@ Language=VBScript %>
<%
Response.Buffer=True
Set smtp = Server.CreateObject("CDO.Message"
smtp.From = "test@emailaddress.com"
smtp.To = "me@emailaddress.com"
smtp.Subject = "email Contact"
smtp.TextBody = "Testing to send Email automatic"
smtp.Send()
'
Set smtp = nothing
%>
The server is NT 4.0 and IIS4 i think. I tried also
set cdosmtp = Server.CreateObject("CDONTS.NewMail"
cdosmtp.Send ("email@address.com", "testing", "Testing this stuff"
Set objMail = Nothing
This also failed. MY book is real vague,and I am not sure if i need to load something on management console?
thanks in advance
-Mike