Subject: CHR(13) errors in CDO.CreateMHTMLBody()
Posted By: janaka44 Post Date: 4/5/2006 11:08:47 PM
When i'm calling CreateObject() method of CDO object it gets stuck if there are 2 CHR(13) characters together in HTML. But i'm not sure whether this is the exact pattern that causes this to get stuck, but it seems as if this is the case. Can somebody please confirm this or tell me about any other cases where this would fail ?

sample code :
<%
DIM loMessage , lcRet
SET loMessage = Server.CreateObject("CDO.Message")
lcRet = loMessage.CreateMHTMLBody("1.HTM")
Response.Write lcRet

SET loMessage = NOTHING
%>

And is there anyway i can get the return value from this method, in cases where it runs completely it returns a NULL (since this method is indicated as a SUB which does not return a value) but i also saw in MSDN that this returns an error message if there are any.

hoping for a QUICK reply

thanks....



Go to topic 42500

Return to index page 322
Return to index page 321
Return to index page 320
Return to index page 319
Return to index page 318
Return to index page 317
Return to index page 316
Return to index page 315
Return to index page 314
Return to index page 313