Hello everybody,

I'm setting up an OTRS environment that will largely depend on email
notifications.

NotificationEvent interface and implementation are both very rich but
one thing I find lacking -- our agents usually do not need to be
notified of auto-response messages...
Interface allows filtering on mostly every article field except
SenderType...

So, I've added a line of code (in the line #116 of program module
K/S/Ticket/Event/NotificationEvent.pm in version $Id:
NotificationEvent.pm,v 1.9 2009/08/18 21:32:15 martin Exp $)

            # by ddzeko: no notifications for system originated msgs
            (2 == $Article{SenderTypeID}) and next NOTIFICATION;

I guess better way would be to add the option to filter setup page in
NotificationEvent admin interface, but this simple trick did the job for me.

Is there a better way to accomplish this? Hard-coding that SenderTypeID
= 2 is what bothers me.

Kind regards,
d.


---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to