mail x company solo se c'è send alarm impostato
This commit is contained in:
@@ -218,9 +218,9 @@ foreach my $comp (keys %Tools_infoCompany) {
|
|||||||
print getLoggingTime() . " - Company email: $comp_email - Send Alarm: $send_alarm\n";
|
print getLoggingTime() . " - Company email: $comp_email - Send Alarm: $send_alarm\n";
|
||||||
if ($send_alarm == 1) {
|
if ($send_alarm == 1) {
|
||||||
$email_addr = $ToolName{$comp}{'CompanyEmail'};
|
$email_addr = $ToolName{$comp}{'CompanyEmail'};
|
||||||
}
|
|
||||||
makeEmailMsg();
|
makeEmailMsg();
|
||||||
emailSend();
|
emailSend();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
print getLoggingTime() . " - pid $$ >> Execution ended.\n";
|
print getLoggingTime() . " - pid $$ >> Execution ended.\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user