I am still at loss, I really do not understand what type of objects are returned by the different methods.
Now i tried the following with a ZmConv object:
Code:
var ajxCallback = new AjxCallback(this, this._done_getMsgsForConv, conversation);
this.getMsgsForConv( ajxCallback, conversation );
and in the callback:
Code:
xxxxx.prototype._done_getMsgsForConv = function( conversation, message )
{
//Process message
alert( "body content: " + message.getBodyContent() );
}; The getBodyContent function is defined in ZmMailMsg but when I call the function I get the error:
Code:
Error: message.getBodyContent is not a function
What do all these methods return!!! I just want to have the full email details so that I can create a rpc call to another service.