How to get mail body

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

How to get mail body

Postby bathio2014 » Thu May 07, 2015 4:49 pm

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();



Return to “Zimlets”

Who is online

Users browsing this forum: No registered users and 1 guest