CHR(13) errors in CDO.CreateMHTMLBody()
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....
|