]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 4 Apr 2022 14:23:45 +0000 (16:23 +0200)
commit2e6af702f547c24ab7515e136317c6e866c794a0
treee20ce7b356dd9ffbe9751cd2360b6d21cdc1ec7a
parent8af1605df6ac0ef0b4e6f9ff72569373acfbc828
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>
misc/cronjobs/gather_print_notices.pl