Fix email notification from a previous refactoring
This commit is contained in:
parent
3ff093aa26
commit
59a6ad13b6
|
@ -716,11 +716,11 @@ sub handle_error {
|
||||||
my $mail = Email::MIME->create(
|
my $mail = Email::MIME->create(
|
||||||
header_str => [
|
header_str => [
|
||||||
From => $conf->{general}->{notify}->{from},
|
From => $conf->{general}->{notify}->{from},
|
||||||
To => $addr,
|
To => $conf->{general}->{notify}->{to},
|
||||||
Subject => "Zimbra LDAP synchronisation error for domain $domain"
|
Subject => "Zimbra LDAP synchronisation error for domain $domain"
|
||||||
],
|
],
|
||||||
attributes => {
|
attributes => {
|
||||||
charset => 'utf-8',
|
charset => 'utf-8',
|
||||||
encoding => 'base64'
|
encoding => 'base64'
|
||||||
},
|
},
|
||||||
body_str => "LDAP synchronisation for domain $domain failed at step '$step'. The error was\n$err\n",
|
body_str => "LDAP synchronisation for domain $domain failed at step '$step'. The error was\n$err\n",
|
||||||
|
|
Loading…
Reference in New Issue