Send an email to 'alwayscc' when ticket is closed.

When a ticket gets closed, I would like managers get notification about it. This is what I did in Config.pm: (I invented this var 'NotificationAlwaysCcStateUpdate') $Self->{NotificationAlwaysCcStateUpdate) = 'IT-manager@blah.com'; then I can not start have apache to pass the perl compile phase: /usr/sbin/apachectl stop: httpd stopped helpdesk:/opt/otrs/Kernel # /usr/sbin/apachectl start [Thu May 15 05:01:18 2003] [error] syntax error at /opt/otrs//Kernel/Config.pm line 148, near "NotificationAlwaysCcStateUpdate) " BEGIN not safe after errors--compilation aborted at /opt/otrs//Kernel/Config.pm line 177. Compilation failed in require at /opt/otrs/scripts/apache-perl-startup.pl line 28. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache-perl-startup.pl line 28. Compilation failed in require at (eval 149) line 1. Syntax error on line 10 of /opt/otrs/scripts/apache-httpd.include.conf: syntax error at /opt/otrs//Kernel/Config.pm line 148, near "NotificationAlwaysCcStateUpdate) " BEGIN not safe after errors--compilation aborted at /opt/otrs//Kernel/Config.pm line 177. Compilation failed in require at /opt/otrs/scripts/apache-perl-startup.pl line 28. BEGIN failed--compilation aborted at /opt/otrs/scripts/apache-perl-startup.pl line 28. Compilation failed in require at (eval 149) line 1.

Hi Alex, On Thu, May 15, 2003 at 12:04:12PM -0700, Alex Zheng wrote:
[...] This is what I did in Config.pm: (I invented this var 'NotificationAlwaysCcStateUpdate')
$Self->{NotificationAlwaysCcStateUpdate) = 'IT-manager@blah.com';
then I can not start have apache to pass the perl compile phase:
/usr/sbin/apachectl stop: httpd stopped helpdesk:/opt/otrs/Kernel # /usr/sbin/apachectl start [Thu May 15 05:01:18 2003] [error] syntax error at /opt/otrs//Kernel/Config.pm line 148, near "NotificationAlwaysCcStateUpdate) " BEGIN not safe after errors--compilation aborted at [...]
$Self->{NotificationAlwaysCcStateUpdate) = ... ^ Try: $Self->{NotificationAlwaysCcStateUpdate} = ... ^ -Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ --
participants (2)
-
Alex Zheng
-
Martin Edenhofer