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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jan 14 19:40:34 CET 2018


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

--- Comment #130 from ByWaterSandboxes at gmail.com ---
Created attachment 70484
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70484&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