Postmaster check from email template

Moderator: crythias

Locked
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Postmaster check from email template

Post by ndhvu275 »

Dear all,

I had a problem with checking template from incoming email by postmaster.
The template email have to check (have to exist key-words: 'Connection ID:', 'Netwerkeigenaar:', 'Aangemaakt door:')
Connection ID: ABC
Netwerkeigenaar: 123
Aangemaakt door: 3213123

I just know to check if matched then assign X-OTRS-Queue = postmaster, X-OTRS-State = new for example by check body of email as below
Body => ((.|\\n)*)Connection ID:((.|\\n)*)Netwerkeigenaar:((.|\\n)*)Aangemaakt door:((.|\\n)*)

But I dun know how to check for otherwise case, because I want to set X-OTRS-Ignore = yes for no match case

Please help me,
Thanks all

Hoang Vu
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
Locked