CDONTS error

Results 1 to 2 of 2

Thread: CDONTS error

  1. #1
    Join Date
    Dec 1969

    Default CDONTS error

    I have this piece of code <BR>SUB Sendmail (from,Subject,Body)<BR> Dim mailobj<BR> mailobj=Server.CreateObject("CDONTS.NewMail")<BR> mailobj.From="sales@somewhere"<BR> mailobj.To="some@where"<BR> mailobj.Subject=Subject<BR> mailobj.Body=Body<BR> mailobj.Send<BR> Set mailobj=Nothing<BR> END SUB<BR>But i keep getting the error<BR>Object doesn&#039;t support this property or method<BR>for the line mailobj=Server.CreateObject("CDONTS.NewMail")<BR>T he SMTP server seems to be up and running.I tried putting a txt file in the pickup folder under mailroot directory but it stays in the queue directory and doesnt get sent out.Any ideas anyone?Do i need to configure the server?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: CDONTS error

    you should say<BR><BR>SET mailObj = server. blah blah<BR><BR>NOTE THE WORD SET!

Posting Permissions

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