[Koha-bugs] [Bug 8000] Test mode for notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 12 17:45:57 CEST 2018


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

David Bourgault <david.bourgault at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #70484|0                           |1
        is obsolete|                            |

--- Comment #141 from David Bourgault <david.bourgault at inlibro.com> ---
Created attachment 74110
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74110&action=edit
Bug 8000: Redirect all emails to SendAllEmailsTo

Koha/Email.pm

Test plan:

1) Apply path
2) Run updatedatabase.pl
3) Clear all SendAllEmailsTo system preference
4) Send mail to a patron of your choosing, email will go to patron's
   email address as usual.
5) Set SendAllEmailsTo to a test email address
6) Send mail to the patron, email will be redirected to the email set
   in the systempreference.
7) Run prove -v t/db_dependent/Letters.t

It does not affect messages in the message_queue.

This patch obsoletes previous patches, because it achieves the same
functionality in a much more centralized way. (4 lines of code!)

Signed-off-by: Ed Veal <eveal at mckinneytexas.org>
Signed-off-by: BWS Sandboxes <ByWaterSandboxes at gmail.com>

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


More information about the Koha-bugs mailing list