Page 1 of 1

Can Zimbra run a script or program on incoming email?

Posted: Wed Aug 29, 2012 7:50 am
by shall42
If I get an incoming email with subject= ABCDEFGH,

I would like to run a program (ie C: empMyProgram.exe)
Is this possible?
TIA

Steve

Can Zimbra run a script or program on incoming email?

Posted: Wed Aug 29, 2012 3:05 pm
by 10119metux
You can write an little mailboxd extension (java) that catches mailbox such events and does the desired action (eg. calling another process, etc).
Of course, that all happens on server side, not within the client.

Can Zimbra run a script or program on incoming email?

Posted: Mon Sep 03, 2012 11:01 pm
by spetteway
[quote user="10119metux"]You can write an little mailboxd extension (java) that catches mailbox such events and does the desired action (eg. calling another process, etc).
Of course, that all happens on server side, not within the client.[/QUOTE]
Where can I find the documentation or examples of writing a mailboxd extension in Java. My use case is to write a server extension that would inspect incoming and outgoing emails on the server and forward them to a custom CRM system we use. I've been searching the site and cannot find anything beyond ZimbraServer/docs/extensions.txt which doesn't really tell you where to find the hook points. Thanks.

Can Zimbra run a script or program on incoming email?

Posted: Thu Sep 06, 2012 4:11 am
by yuanxu
I want to do same as you, got from incoming mail and filter then to do other job.

My Email : 21334878@qq.com