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 = "[email protected]"
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.