CDONTS Problem

Results 1 to 2 of 2

Thread: CDONTS Problem

  1. #1
    Join Date
    Dec 1969

    Default CDONTS Problem

    I&#039;m trying to use CDONTS to send an e-mail. Following is my code:<BR><BR>...<BR>Set MailObj = Server.CreateObject("CDONTS.NewMail")<BR>If not IsObject(MailObj) then<BR> Response.Write "Cannot create a CDONTS object."<BR> Response.End<BR>End IF<BR><BR>MailObj.From = cEMailReturnAddress<BR>MailObj.To = Request.Form("EMailAddr")<BR>MailObj.Subject = "Registration"<BR>MailObj.Body = GetBodyText()<BR>MailObj.Send<BR><BR>If Err.Number &#060;&#062; 0 Then<BR> Response.Write "Error Number : " & Err.Number & "<BR>"<BR> Response.Write "Description : " & Err.Description & "<BR>"<BR> Response.Write "Source : " & Err.Source & "<BR> "<BR> Response.End<BR>End If<BR><BR>...<BR>this goes through without complaining, but I never receive the e-mail. When I chech inetpubmailrootPickup, there are e-mails out there, but it should go on to it&#039;s destination, shouldn&#039;t? Why doesn&#039;t it send it on to it&#039;s destination? Is there a setting I&#039;m missing somewhere?<BR><BR>Jesse

  2. #2
    Join Date
    Dec 1969

    Default RE: CDONTS Problem

    do you have SMTP server running?

Posting Permissions

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