Results 1 to 2 of 2

Thread: CDONTS Error

  1. #1
    Join Date
    Dec 1969

    Default CDONTS Error

    I posted this last night, but I think it got archived right away.<BR>Any help would be greatly appreciated.<BR><BR>mFrom = "" <BR>mTo = "" <BR>Set objMail = Server.CreateObject("CDONTS.NewMail") <BR>objMail.From = mFrom <BR>objMail.To = mTo <BR>objMail.Subject = "Hi" <BR>objmail.Body = "Hi how are you?" <BR>objMail.Send <BR><BR>I am trying to use CDONTS and I get this error: <BR><BR>Microsoft VBScript compilation error &#039;800a0408&#039; <BR><BR>Invalid character <BR><BR>/pm/ddeployment.asp, line 44 <BR><BR>objMail.From = mFrom <BR>--------------------^ <BR><BR>Any Ideas? <BR>Thanks in advance, <BR>Matt

  2. #2
    Join Date
    Dec 1969

    Default RE: CDONTS Error

    Hi, I&#039;ve tried your code and it&#039;s fine. I think what you have on line 44 is not "objMail.From=mFrom". Try isolating the bit of code you have posted here, I&#039;m sure it will work on its own. Good luck

Posting Permissions

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