[Koha-bugs] [Bug 29501] gather_print_notices.pl does not use SMTP servers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 22 11:40:57 CET 2022


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

--- Comment #24 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 132006
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132006&action=edit
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 at 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 at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list