R
rvj
Im attempting to convert a simple CDO VB script to Javascript but keep
getting Internal Error 500. The VB version works fine.
As far as I can tell all I need to do change the object definition and add
the language declaration.
Can anyone see what is wrong with the object definition?
<%@ language=javascript %>
<%
objMail = Server.CreateObject("CDO.Message")
// objMail = New Server.CreateObject("CDO.Message")
objMail.From="x.y.z"
objMail.To="(e-mail address removed)"
objMail.Subject="topic"
objMail.TextBody="text"
objMail.Send
%>
getting Internal Error 500. The VB version works fine.
As far as I can tell all I need to do change the object definition and add
the language declaration.
Can anyone see what is wrong with the object definition?
<%@ language=javascript %>
<%
objMail = Server.CreateObject("CDO.Message")
// objMail = New Server.CreateObject("CDO.Message")
objMail.From="x.y.z"
objMail.To="(e-mail address removed)"
objMail.Subject="topic"
objMail.TextBody="text"
objMail.Send
%>