[Koha-bugs] [Bug 30013] Limit/throttle/retry SMTP connections

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 9 02:26:47 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30013

--- Comment #12 from David Cook <dcook at prosentient.com.au> ---
(In reply to Kyle M Hall from comment #11)
> I think we need to implement
> https://metacpan.org/pod/Email::Sender::Transport::SMTP::Persistent and keep
> the instances of it in memory during each call to SendQueuedMessages

+1

Since different libraries can have different SMTP servers, I reckon
SendQueuedMessages should have an empty hashref that gets passed through to
_send_message_by_email. (Looks like _send_message_by_email is only used in
SendQueuedMessages so changes to the arguments should be easy.)

Then the $stmp_server can be cached in that hashref for the life of
SendQueuedMessages.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list