CDO Email and ASP

Results 1 to 2 of 2

Thread: CDO Email and ASP

  1. #1
    Brent Peters Guest

    Default CDO Email and ASP

    I am receiving the following error:<BR><BR>Microsoft VBScript runtime error &#039 800a01ad&#039 <BR><BR>ActiveX component can&#039t create object: &#039CDONTS.NewMail&#039 <BR><BR>/reply_post.asp, line 54 <BR><BR>Either the CDO component is not configured/installed properly or I am missing something fundamental.<BR><BR>The code is as follows:<BR><BR> Dim objSendMail<BR> Dim strTo, strFrom<BR> Dim strSubject, strBody<BR><BR> strFrom = "dummy@nodomain.com"<BR> strTo = "bpeters@trimac.com"<BR> strSubject = l_subject_line<BR><BR> strBody = l_reply_text<BR><BR> &#039 the following section creates the mail object and sends the mail<BR> Set objSendMail = CreateObject("CDONTS.NewMail")<BR> objSendMail.From = strFrom<BR> objSendMail.To = strTo<BR> objSendMail.Subject = strSubject<BR> objSendMail.Body = strBody<BR><BR> objSendMail.Send<BR> Set objSendMail = Nothing<BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    78

    Default RE: CDO Email and ASP

    Did you install the SMTP component on you IIS box?

Posting Permissions

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