From 6acf32da4820b476f68e8f90eaac682b6a7288b0 Mon Sep 17 00:00:00 2001 From: battilo Date: Mon, 28 Jan 2019 20:23:05 +0100 Subject: [PATCH] =?UTF-8?q?mail=20x=20company=20solo=20se=20c'=C3=A8=20sen?= =?UTF-8?q?d=20alarm=20impostato?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AlertNotReceived.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AlertNotReceived.pl b/AlertNotReceived.pl index 1da149e..65a8d40 100644 --- a/AlertNotReceived.pl +++ b/AlertNotReceived.pl @@ -218,9 +218,9 @@ foreach my $comp (keys %Tools_infoCompany) { print getLoggingTime() . " - Company email: $comp_email - Send Alarm: $send_alarm\n"; if ($send_alarm == 1) { $email_addr = $ToolName{$comp}{'CompanyEmail'}; + makeEmailMsg(); + emailSend(); } - makeEmailMsg(); - emailSend(); } print getLoggingTime() . " - pid $$ >> Execution ended.\n";