Can Zimbra run a script or program on incoming email?

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
shall42
Posts: 5
Joined: Sat Sep 13, 2014 2:52 am

Can Zimbra run a script or program on incoming email?

Post 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
10119metux
Advanced member
Advanced member
Posts: 75
Joined: Sat Sep 13, 2014 2:29 am

Can Zimbra run a script or program on incoming email?

Post 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.
spetteway
Posts: 1
Joined: Sat Sep 13, 2014 2:44 am

Can Zimbra run a script or program on incoming email?

Post 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.
yuanxu
Posts: 13
Joined: Sat Sep 13, 2014 2:42 am

Can Zimbra run a script or program on incoming email?

Post 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
Post Reply