New Module: EnhancedPostmasterFilter

English! place to talk about development, programming and coding
Post Reply
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

New Module: EnhancedPostmasterFilter

Post by reneeb »

http://opar.perl-services.de/dist/Enhan ... lter-4.0.1

Currently you have to develop your own PostMaster filter module when you want to catch several values from the mail and use them to set e.g. dynamic fields. The shipped module allows you only to use [***] to use the captured value in the "set" actions. But what is the captured value?

OTRS checks the fields defined in the "match" section in alphabetical order. So [***] is the value captured with the last capturing groups (()) of the last (in alphabetical order) field.

But what if you want to capture more values and use them? Then go with this module!

Now you can use names for the capturing groups and use the names in the "set" actions.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Post Reply