Results 1 to 2 of 2

Thread: Java - update message headers

  1. #1
    Join Date
    Aug 2013
    Rep Power

    Default Java - update message headers

    Hello Gents,

    I'm writing a zimlet that, when invoked, stores some message headers in database.
    This zimlet is made by a JSP that invokes my Java class to do the job.

    All is working fine, I'm wondering now about the possibility to manage some message headers directly from this Java Class - for example, updating the message subject adding a simple prefix, just to "mark" the email.

    Is there any possibility to do this via Java API calls? For example using ZMessage or ZMailBox classes, or some others?

    I've searched a lot for API docs and other examples here, but I've found nothing useful for my purposes.

    PS: I'm using Zimbra 7.2.4

    Thanks so much.

  2. #2
    Join Date
    Oct 2009
    Rep Power



    I do not understand what you have done with your zimlet and what is the goal of your next modification.
    But generally speaking in Zimbra, message subject is stored in message file itself and in zimbra's database table.
    So you have to decide if you change one of them or both.
    Some processes in Zimbra use the one in database, other use the one in message file. So sometimes changing only one of them makes you confused.
    Same even in UI, so it could makes your user confused.

Similar Threads

  1. Bad Headers in incoming message
    By liverpoolfcfan in forum Administrators
    Replies: 1
    Last Post: 09-02-2010, 06:53 AM
  2. Downloading message headers only?
    By proteus in forum General Questions
    Replies: 4
    Last Post: 07-05-2010, 06:01 AM
  3. Hiding sub-domains in message headers
    By fcash in forum Administrators
    Replies: 5
    Last Post: 08-17-2009, 02:01 PM
  4. Replies: 6
    Last Post: 10-31-2007, 02:49 PM
  5. [SOLVED] Searching message headers?
    By gkra in forum Users
    Replies: 2
    Last Post: 08-11-2007, 08:26 AM

Posting Permissions

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