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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 8 15:29:27 CEST 2015


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

Maxime Beaulieu <maxime.beaulieu at inlibro.com> changed:

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

--- Comment #59 from Maxime Beaulieu <maxime.beaulieu at inlibro.com> ---
Created attachment 39985
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39985&action=edit
Bug 8000 - Override emails of every message sent from Koha

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
    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.  Here's one way:
       a) set AutoEmailOpacUser to true
       b) create a new user, with an email address
       c) Normally, a confirmation email is sent to the user. Validate that it
goes to the SendAllEmailsTo one.

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


More information about the Koha-bugs mailing list