CDO and ASP (maybe ASP.NET)

Results 1 to 2 of 2

Thread: CDO and ASP (maybe ASP.NET)

  1. #1
    Join Date
    Dec 1969

    Default CDO and ASP (maybe ASP.NET)

    on our Win2k3 Server we are migrating our .ASP web pages to we are having problems with CDONTS. When I try to send an email I get this error message:<BR><BR>Microsoft VBScript runtime error &#039;800a01b6&#039; <BR><BR>Object doesn&#039;t support this property or method: &#039;objMail.BodyFormat&#039; <BR><BR>savemail.asp, line 118 <BR><BR><BR>Line 118 and 119 are as follows:<BR><BR> objMail.BodyFormat = 0<BR> objMail.MailFormat = 0<BR><BR>What should I change line 118 and 119 to so I can send the email in HTML format? without modifying the .ASP file to .ASPX?<BR><BR>Thanks in advance.

  2. #2
    Join Date
    Dec 1969

    Default RE: CDO and ASP (maybe ASP.NET)

    It may be that the constant values have changed...<BR><BR>Try adding this to the top of your script (watchit itsa*****) all on 1 line..<BR><BR>&#060;!-- METADATA type="typelib" name="Microsoft CDO for NTS 1.2 Library" uuid="{0E064ADD-9D99-11D0-ABE5-00AA0064D470}" VERSION="1.2" --&#062;<BR><BR>and then<BR>...<BR>objMail.BodyFormat = CdoBodyFormatHTML<BR>objMail.MailFormat = CdoMailFormatMIME<BR>...<BR><BR>Can&#039;t say for certain that it will work, I have never knowingly used Win2k3 Server <BR><BR>Elija<BR><BR>Always have fun... Even if you don&#039;t enjoy it! =8&#062;)

Posting Permissions

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