зеркало из https://github.com/mozilla/pjs.git
handle cc list better in emergency fail email b=372762 r=preed
This commit is contained in:
Родитель
d040bdde43
Коммит
21ad8be73e
|
@ -139,13 +139,12 @@ sub PerformStep {
|
|||
my $conf = new Bootstrap::Config();
|
||||
my $from = $conf->Get(var => 'from');
|
||||
my $to = $conf->Get(var => 'to');
|
||||
my $cc = $conf->Get(var => 'cc');
|
||||
my @ccList = $conf->Exists(var => 'cc') ? split(/[,\s]+/,
|
||||
$conf->Get(var => 'cc')) : ();
|
||||
my $blat = $conf->Get(var => 'blat');
|
||||
my $sendmail = $conf->Get(var => 'sendmail');
|
||||
my $hostname = $conf->SystemInfo(var => 'hostname');
|
||||
|
||||
my @ccList = split(', ', $cc);
|
||||
|
||||
eval {
|
||||
Email(
|
||||
blat => $blat,
|
||||
|
|
Загрузка…
Ссылка в новой задаче