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

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 06-16-2009, 09:49 AM
Loyal Member
 
Posts: 82
Default Messages is checked before sending outside!

Dear Experts,
We're using zimbra mail for our system. There's a problem we'd like to discuss with everyone. That is how to check messages before sending to the customers.
when a user send an email, this email must be checked for the contents by the manager. The manager will send the messages for the customer after checking the content of message is ok. Does Zimbra offer any feature for this?

Thanks for regard,
Reply With Quote
  #2 (permalink)  
Old 05-14-2012, 09:58 PM
Active Member
 
Posts: 28
Default

We are also looking for the solution for the same. Let me know if you found solution
__________________
Zimbra Version 7.1.3_G.A._3346 running on ubuntu 10.04 x64
Reply With Quote
  #3 (permalink)  
Old 05-14-2012, 10:47 PM
Junior Member
 
Posts: 7
Default

I think you will need to extend send button listener for that.
Reply With Quote
  #4 (permalink)  
Old 05-14-2012, 11:35 PM
Active Member
 
Posts: 28
Default

Have you tried to implement this? How do we extend send button listener??
__________________
Zimbra Version 7.1.3_G.A._3346 running on ubuntu 10.04 x64
Reply With Quote
  #5 (permalink)  
Old 05-14-2012, 11:48 PM
Junior Member
 
Posts: 7
Default

Well its a zimlet, how could I post it here. and this forum is not allowed me post any email address.
Reply With Quote
  #6 (permalink)  
Old 05-14-2012, 11:59 PM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by Jignesh_Zim View Post
Well its a zimlet, how could I post it here. and this forum is not allowed me post any email address.
People can contact you via a PM or email settings on your profile. There's also nothing stopping you post a link to your code in this thread - just host the code somewhere else.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 05-15-2012, 12:05 AM
Junior Member
 
Posts: 7
Default

Here is just emaple, you can develop zimlet your own
com_zimbra_test1.prototype.init = function() {
//call this immediately after login to set new listner for SPAM button
this.replaceMailToolbarBtnListener(ZmId.OP_SPAM, new AjxListener(this, this._newSelectionListener));
};

//Replace ALL listeners that are registered for SELECTION event with the new listner
com_zimbra_test1.prototype.replaceMailToolbarBtnLi stener = function(btnName, newListner) {
var controller = null;
var btn = null;
//keep track of all the views for which we have already set a new listner
if (this._viewHasNewListner == undefined) {
this._viewHasNewListner = [];
}

var viewId = appCtxt.getAppViewMgr().getCurrentViewId();
if (viewId != ZmId.VIEW_CONVLIST && viewId != ZmId.VIEW_CONV && viewId != ZmId.VIEW_TRAD && viewId == ZmId.VIEW_MSG) {
return;
}
if (this._viewHasNewListner[viewId]) {//already has listener
return;
}

if (viewId == ZmId.VIEW_CONVLIST) {
controller = AjxDispatcher.run("GetConvListController");
btn = controller._toolbar.CLV.getButton(btnName);
} else if (viewId == ZmId.VIEW_CONV) {
controller = AjxDispatcher.run("GetConvController");
btn = controller._toolbar.CV.getButton(btnName);
} else if (viewId == ZmId.VIEW_TRAD) {
controller = AjxDispatcher.run("GetTradController");
btn = controller._toolbar.TV.getButton(btnName);
} else if (viewId == ZmId.VIEW_MSG) {
controller = AjxDispatcher.run("GetMsgController");
btn = controller._toolbar.MSG.getButton(btnName);
}
this._viewHasNewListner[viewId] = true;
btn.removeSelectionListeners();//remove all earlier listners
btn.addSelectionListener(newListner);
};


//onShowView is called everytime a view is changed. It adds listners when user changes views(as they appear)
com_zimbra_test1.prototype.onShowView = function(viewId, isNewView) {
if (viewId == ZmId.VIEW_CONVLIST || viewId == ZmId.VIEW_CONV || viewId == ZmId.VIEW_TRAD || viewId == ZmId.VIEW_MSG) {
this.replaceMailToolbarBtnListener(ZmId.OP_SPAM, new AjxListener(this, this._newSelectionListener));
}
};

//New listener
com_zimbra_test1.prototype._newSelectionListener = function(obj) {
alert("Do Something Else Here!");
};
Reply With Quote
  #8 (permalink)  
Old 05-15-2012, 12:10 AM
Active Member
 
Posts: 28
Default

Quote:
Originally Posted by Jignesh_Zim View Post
Well its a zimlet, how could I post it here. and this forum is not allowed me post any email address.
Check my private message.
__________________
Zimbra Version 7.1.3_G.A._3346 running on ubuntu 10.04 x64
Reply With Quote
  #9 (permalink)  
Old 05-15-2012, 04:34 AM
Junior Member
 
Posts: 7
Default

Have you got the zimlet?
Reply With Quote
  #10 (permalink)  
Old 05-15-2012, 04:37 AM
Active Member
 
Posts: 28
Default

Quote:
Originally Posted by Jignesh_Zim View Post
Have you got the zimlet?
Got the Zimlet and works okay till Message Box. We will need to develop it further. Will update you.

Thanks for your help.
__________________
Zimbra Version 7.1.3_G.A._3346 running on ubuntu 10.04 x64
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.