Sendmail: Actually print info log messages as documented

This commit is contained in:
Daniel Friesel 2019-04-17 07:07:05 -04:00
parent 1150021d2e
commit d9b82a4133

View file

@ -31,7 +31,7 @@ sub custom {
if ( $self->{config}->{disabled} ) {
# 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;
}