Commit d9b82a41 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Sendmail: Actually print info log messages as documented

parent 1150021d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}