Sending mail thru ASP

Results 1 to 2 of 2

Thread: Sending mail thru ASP

  1. #1
    Rampall Sona Guest

    Default Sending mail thru ASP

    Hi, <BR>I copied the foll. code from your site<BR>&#060;% Dim objMail<BR> Set objMail = Server.CreateObject("CDONTS.NewMail")<BR><BR> objCDO.To = ""<BR> objCDO.From = " (Jane Doe)"<BR> objCDO.bcc = "" &#039;Blind cc<BR> objCDO.Subject = "My Resume, per Request"<BR> objCDO.Body = "Hello John. Here is a copy of my resume"<BR> objCDO.Importance = 2 &#039;High importance!<BR> <BR> objCDO.Send &#039;Send off the email!<BR> Response.write("&#060;i&#062;Mail was Sent&#060;/i&#062;&#060;p&#062;")<BR><BR> &#039;You should always do this with CDONTS.<BR> set objMail = nothing<BR>%&#062;<BR><BR>But I get this message on execution:-<BR><BR>Server object error &#039;ASP 0177 : 800401f3&#039; <BR>Server.CreateObject Failed <BR>800401f3 <BR><BR>It must be on this line <BR>Set objMail = Server.CreateObject("CDONTS.NewMail")<BR><BR>I have tried a live demo from your site it is working great but from my site It ain&#039;t working.<BR><BR>I found this great code which I want to use but I can not figure why the Server.CreateObject Failed ?<BR><BR>Thanks for helping.<BR>Rdgs,<BR><BR>Rampall<BR>Rampalld@tecin .mu <BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Sending mail thru ASP

    You don&#039;t have cdonts.dll installed on your machine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts