i don't know how can i get message attachment inside javascript code, can any one help me, plz
i don't know how can i get message attachment inside javascript code, can any one help me, plz
To access the attachments you can override the function onMsgView - called when a new message is being viewed.
Something like this:
MyZimlet.prototype.onMsgView = function(msg, oldMsg) {
for(var i = 0; i < msg._attachments.length; i++){
var attach = msg._attachments[i];
// do something with the attachment
}
Maybe that will help you.
can i override this function inside class inherits from ZmZimletBase , sorry about my english
thank you Agnes, it work well
There are currently 1 users browsing this thread. (0 members and 1 guests)