From a3a2c4cfffca9c06fbaf274825fbeeecf6bd1c84 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 5 Oct 2020 11:19:16 +0200 Subject: [PATCH] Bug 22343: (follow-up) Remove traces of Mail::Sendmail - update POD Signed-off-by: Jonathan Druart --- Koha/SMTP/Server.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/SMTP/Server.pm b/Koha/SMTP/Server.pm index dd6cc9c934..919f7898b2 100644 --- a/Koha/SMTP/Server.pm +++ b/Koha/SMTP/Server.pm @@ -36,7 +36,8 @@ Koha::SMTP::Server - Koha SMTP Server Object class =head3 transport my $transport = $smtp_server->transport; - sendmail( $message, { transport => $transport } ); + $email->transport($transport); + $email->send_or_die; Returns an I object that can be used directly with Email::Sender. -- 2.39.5