How to get mail body

Interested in talking about Mash-up's? This is the place.
Post Reply
bathio2014
Posts: 4
Joined: Fri Mar 06, 2015 9:42 am

How to get mail body

Post by bathio2014 »

hi,
i need to get the mail body, so i create a new zimlets with the code js below but it never work.
any body had an idea.
thx

///////js-code//////////////
com_zimbra_test.prototype.doDrop =
function(zmObject) {
};
com_zimbra_test.prototype.doDrop =
function(zmObject) {
var msgObj = zmObject.srcObj;//get access to source-object
if (zmObject.type == "CONV") {
msgObj = zmObject.getFirstHotMsg();
}
};

var body = msgObj.getBodyContent();
Post Reply