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

Blou <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21976|0                           |1
        is obsolete|                            |
  Attachment #22315|0                           |1
        is obsolete|                            |

--- Comment #12 from Blou <[email protected]> ---
Created attachment 24784
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24784&action=edit
Bug 8000 - Override emails of every message sent from Koha

Note: rebased to 3.15

For testing purposes, we do not want emails sent to (legitimate) users.  And
sometime we also like to actually see what would be generated for the users. 
This preference will allow to override every message sent by koha with a new
(temporary) To address.  Leave it empty for normal usage.

C4/Letters.pm
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref

TESTING:
0) Run updatedatabase.pl
1) Enter a valid address for new preference SendAllEmailsTo, something that
will be easily identified as NOT the normal destination for the Koha emails.
2) Have koha generate an email to a user.  Or any other mean prefered that
cause Koha to send email.
3) Validate that the email is NOT sent to the user.
4) Validate that the email IS sent to the overriding address.
5) Clean the preference
6) Redo the test, validate that the email is going to the right address.

PS Not sure if those steps are precise enough.  I'm not comfortable enough to
specify the best way to generate emails, I personnally had to hack it in my
environment.  Feedbacks welcomed.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to