Rob Brown
Feb 13th, 2001, 03:21 AM
Hi,
I'm building a fault reporting application with Visual Interdev and am having problems automating e-Mail from an .Asp page.
I'm using the following page to try and send my message:
<%
sub sendMail()
set myMail = server.CreateObject("CDONTS.NewMail")
myMail.From = WizDB
myMail.To = "rob.brown@waterni.gov.uk"
myMail.Subject = "Wizcon Fault"
myMail.Body = "A Wizcon fault has been edited. The ref no of the fault is: " & session("refno") & "."
myMail.Send
Set myMail = Nothing
end sub
%>
This returns the error:
"Invalid Class String"
My site runs on NT Workstation 4.0 SP6. Is this facility only available on NT Server or do I need to switch something on?
Any suggestions would be appreciated.
Best regards,
Rob Brown.
I'm building a fault reporting application with Visual Interdev and am having problems automating e-Mail from an .Asp page.
I'm using the following page to try and send my message:
<%
sub sendMail()
set myMail = server.CreateObject("CDONTS.NewMail")
myMail.From = WizDB
myMail.To = "rob.brown@waterni.gov.uk"
myMail.Subject = "Wizcon Fault"
myMail.Body = "A Wizcon fault has been edited. The ref no of the fault is: " & session("refno") & "."
myMail.Send
Set myMail = Nothing
end sub
%>
This returns the error:
"Invalid Class String"
My site runs on NT Workstation 4.0 SP6. Is this facility only available on NT Server or do I need to switch something on?
Any suggestions would be appreciated.
Best regards,
Rob Brown.