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.
shall42
Posts: 5
Joined: Sat Sep 13, 2014 2:52 am

Can Zimbra run a script or program on incoming email?

Postby shall42 » Wed Aug 29, 2012 7:50 am

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?

Postby 10119metux » Wed Aug 29, 2012 3:05 pm

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?

Postby spetteway » Mon Sep 03, 2012 11:01 pm

[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?

Postby yuanxu » Thu Sep 06, 2012 4:11 am

I want to do same as you, got from incoming mail and filter then to do other job.

My Email : 21334878@qq.com

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 2 guests