]> git.koha-community.org Git - koha.git/commit
Bug 29501: Use the default transport
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 21 Mar 2022 16:45:16 +0000 (13:45 -0300)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Apr 2022 12:32:28 +0000 (08:32 -0400)
commit93a67add9f0ec6133cd5dd1267a92303326133c8
treee97e901896d86d22abec7a160bf3252add7d87a5
parent89ead8445e35b776e948e1a5a0b844530e5cf840
Bug 29501: Use the default transport

This patch makes the script pass the default SMTP transport to the
->send_or_die call.

The default is picked as this is the current behavior. New enhancements
could add the *library_id* to the message_queue table, and allow using
different transports depending on that. But it is out of the scope of
this bug.

To test:
1. Verify messages are being sent.
2. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
JD amended patch: revert
-        unless $format =~ m[^html$|^csv$|^ods$];
+        unless $format =~ m/^html$|^csv$|^ods$/;
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
misc/cronjobs/gather_print_notices.pl