From: Jan Büren Date: Wed, 26 Sep 2018 09:42:43 +0000 (+0200) Subject: SelfTest: Fehlermeldung beim E-Mail-Versand an den Task-Server hochreichen X-Git-Tag: release-3.5.4~266 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=74d90fe6d1d7a066bf1f74e05d13a1cc3a22239b;p=kivitendo-erp.git SelfTest: Fehlermeldung beim E-Mail-Versand an den Task-Server hochreichen --- diff --git a/SL/BackgroundJob/SelfTest.pm b/SL/BackgroundJob/SelfTest.pm index bb624673b..10438644c 100644 --- a/SL/BackgroundJob/SelfTest.pm +++ b/SL/BackgroundJob/SelfTest.pm @@ -134,7 +134,9 @@ sub _send_email { $mail->{content_type} = $content_type; $mail->{message} = $$output; - $mail->send; + my $err = $mail->send; + $self->add_errors('Mailer error #1', $err) if $err; + } sub _prepare_report {