https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30013 --- Comment #13 from David Cook <dcook@prosentient.com.au> --- (In reply to David Cook from comment #12)
(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.
And that's exactly what you've already done. Just saw the other report heh. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.