I am working further on the zimlet for vTiger. Now I am having one problem, when I want to add the email body to my vTiger DB, There is always an error. There is only an error when there are ENTERS in the text. When I add the body, for example with one word, everything works fine. When I add for example:
There is always an error.
I can't paste the error because the zimlet error tells me that another parameter is empty, but that isn't true..
that is the code to get the body into a variable:
body = AjxStringUtil.htmlEncode(srcMsgObj._topPart.getCon tentForType(ZmMimeTable.TEXT_PLAIN));
Does someone know what I am doing wrong.