By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,410 Members | 656 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,410 IT Pros & Developers. It's quick & easy.

can't create object

P: 5
Hey i am having this problem with email

Expand|Select|Wrap|Line Numbers
  1. <%@Language=JScript%>
  2. <%
  3. var mail = Server.CreateObject("CDONTS.NewMail");
  4.     mail.BodyFormat  = 0;
  5.     mail.MailFormat  = 0;
  6.     mail.ContentBase = "";
  7.     mail.To          = "mZaragoza@xxx.com";
  8.     mail.From          = "moisesz@xxx.com";
  9.     mail.Subject      = "subject";
  10.     mail.Body          = "tmpBody";
  11.     mail.send
  12. %>
Microsoft JScript runtime error '800a01ad'
Automation server can't create object
/app/test/mail3.asp, line 3
Sep 20 '10 #1
Share this Question
Share on Google+
1 Reply

jhardman
Expert 2.5K+
P: 3,405
try:
Expand|Select|Wrap|Line Numbers
  1. var mail = Server.CreateObject("CDONTS.Message");
Sep 21 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.