Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-2011, 07:40 AM
Moderator
 
Posts: 7,929
Default Zimlet to add custom header

Would anybody know whether it is possible from a Zimlet to add a custom header to an email when it is sent ? We wish to create a Zimlet button that when clicked from within the email compose window of the ZWC would add Secure: Yes as a custom header. Any ideas please ?????
__________________
Reply With Quote
  #2 (permalink)  
Old 07-12-2011, 12:40 AM
Moderator
 
Posts: 7,929
Default

Sorry to bump but it would be great if one of the devs could provide some input on this as I now have another requirement for the ability to be able to add a custom header ?
__________________
Reply With Quote
  #3 (permalink)  
Old 07-12-2011, 10:08 AM
Active Member
 
Posts: 33
Default

I took a look into the code and some docs.
It seems is very difficult to achieve it because the interface between Zimlet and backend is SOAP, and in the SOAP there is no such parameter.
Taking into account my experience with ZCS that almost everything is achievable if you know how and to whom to address it, I believe it would be possible to do it: extend the ZCS backend or add priavte method for sending emails; in compose window replace buttons to point to your extension + add additional parameter on the interface with custom header.
Everything could be packed in one Zimlet.

Hope it helps.

Cheers,
first
Reply With Quote
  #4 (permalink)  
Old 07-12-2011, 10:21 AM
Active Member
 
Posts: 33
Default

Forgot to mention that if you need to add fixed header to every email, that is easy achievable via patching ZCS backend. The patch should look like one jar (replacing original one) copied to three different folders.

Cheers,
first
Reply With Quote
  #5 (permalink)  
Old 02-29-2012, 06:44 AM
Starter Member
 
Posts: 1
Default add custom header add alter backend

Hi Guys,
I m like new in Zimbra world, actually I did some successful basic multi-server setup.. and now I m trying to customize my instance with new services adds.
I m struggling on a point, that’s turning on a real nightmare. I want to do achieve the following:
  • In the client web side: Tagging mail with a header
  • In the backend side: and when the mail header is tagged: doing some persistence in the sent mail, and sending some event when the mail is read.

I think for that I have to patch/overwrite some classes, but which ones? how can I deploy my patch? Or there is another proper and safety way to do that.

A kinf of help of support will save my life !!

Many thanks.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.