Results 1 to 4 of 4

Thread: [SOLVED] get message attachments

  1. #1
    rr_khaseeb1 is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    21
    Rep Power
    6

    Post [SOLVED] get message attachments

    i don't know how can i get message attachment inside javascript code, can any one help me, plz

  2. #2
    agnes is offline Active Member
    Join Date
    Mar 2008
    Posts
    40
    Rep Power
    7

    Default

    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.

  3. #3
    rr_khaseeb1 is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    21
    Rep Power
    6

    Default to agnes

    can i override this function inside class inherits from ZmZimletBase , sorry about my english

  4. #4
    rr_khaseeb1 is offline Intermediate Member
    Join Date
    Jul 2008
    Posts
    21
    Rep Power
    6

    Thumbs up to agnes

    thank you Agnes, it work well

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to get handle to Message Attachments
    By legalizenet in forum Developers
    Replies: 0
    Last Post: 02-08-2008, 10:55 AM
  2. Replies: 3
    Last Post: 12-10-2007, 05:27 PM
  3. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  4. Message with attachments not recieved
    By jpcaldwell in forum Administrators
    Replies: 2
    Last Post: 09-28-2006, 01:24 PM
  5. Replies: 2
    Last Post: 05-20-2006, 09:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •