Develop PostMasterPost module

English! place to talk about development, programming and coding
Post Reply
jaro
Znuny newbie
Posts: 7
Joined: 19 Jun 2014, 19:17
Znuny Version: 3.3.6
Real Name: Jaro Griscik
Company: Sysmex

Develop PostMasterPost module

Post by jaro »

Hi

I'd like to develop a postmasterpost module that would get some values from newly created ticket (using regex named groups)
it will execute select statement using where condition with these values
select would return email address which will be stored in X-OTRS-CustomerUser
(I need to set the customer user as all tickets are created by sending the mail from one email address for all customers)

I've never done anything like this before. I checked some documentation but it did not help me at all :(

Is there anybody who would send me some simple example how I could do it?
Thanks

Jaro
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:

Re: Develop PostMasterPost module

Post by reneeb »

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