]> git.koha-community.org Git - koha.git/commit
Bug 33964: Use Email::Sender::Transport::SMTP::Persistent for sending email
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 8 Jun 2023 15:57:47 +0000 (11:57 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 8 Aug 2023 06:05:46 +0000 (20:05 -1000)
commitc8b3c66ae7aa33ba01f649fca68d010677a48039
tree601e2dc04bf5637f9cf025ab01494f1f14496c64
parent57e755e6b0071868d485470dce31a0bdf130c2b5
Bug 33964: Use Email::Sender::Transport::SMTP::Persistent for sending email

As described in bug 30013, some outgoing SMTP services ( such as Gmail ) do not like Koha's current behavior of initiating a new connection for each email sent.  If we switch from Email::Sender::Transport::SMTP to Email::Sender::Transport::SMTP::Persistent and store the object for the duration of the message queue processing, this should solve that issue.

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e9ce739b74c1357d4ca8fc0136377b4f15de7f6e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Letters.pm
Koha/SMTP/Server.pm
cpanfile
t/db_dependent/Koha/SMTP/Server.t