moiseszaragoza
09-16-2010, 02:35 PM
I have this code working another server but not it stopped working
<%@Language=JScript%>
<%
var mail = Server.CreateObject("CDONTS.NewMail");
mail.BodyFormat = 0;
mail.MailFormat = 0;
mail.ContentBase = "";
mail.To = "mZaragoza@xxx.com";
mail.From = "moisesz@xxx.com";
mail.Subject = "subject";
mail.Body = "tmpBody";
%>
Error
Microsoft JScript runtime error '800a01ad'
Automation server can't create object
/app/test/mail3.asp, line 3
<%@Language=JScript%>
<%
var mail = Server.CreateObject("CDONTS.NewMail");
mail.BodyFormat = 0;
mail.MailFormat = 0;
mail.ContentBase = "";
mail.To = "mZaragoza@xxx.com";
mail.From = "moisesz@xxx.com";
mail.Subject = "subject";
mail.Body = "tmpBody";
%>
Error
Microsoft JScript runtime error '800a01ad'
Automation server can't create object
/app/test/mail3.asp, line 3