]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Jul 2023 17:55:33 +0000 (14:55 -0300)
commite9ce739b74c1357d4ca8fc0136377b4f15de7f6e
treeb840f0ed225233aa962b32c30a0f16f7467cf988
parentad124fe536aa11380bdce38b4dfc600864159477
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>
C4/Letters.pm
Koha/SMTP/Server.pm
cpanfile
t/db_dependent/Koha/SMTP/Server.t