Sendmail: Actually print info log messages as documented
This commit is contained in:
parent
1150021d2e
commit
d9b82a4133
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ sub custom {
|
||||||
if ( $self->{config}->{disabled} ) {
|
if ( $self->{config}->{disabled} ) {
|
||||||
|
|
||||||
# Do not send mail in dev mode
|
# Do not send mail in dev mode
|
||||||
say "sendmail to ${to}: ${subject}\n\n${body}";
|
$self->{log}->info("sendmail to ${to}: ${subject}\n\n${body}");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue