Bug 17866: Change sender for serial claim notifications
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 9 Jan 2017 14:10:56 +0000 (15:10 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 31 Mar 2017 13:19:29 +0000 (13:19 +0000)
commita5485b65f3e797cef946a0d68419c72fb10eda84
tree55989b4b99204708726adfc4560b4493415e6458
parentd2ee53fb5f90277d47fc56667e71018f5d9b88a9
Bug 17866: Change sender for serial claim notifications

Currently, the From field uses the emailaddress of the staff client member
from the user context. This is exceptional in Koha. And might very well be,
as in our case, the cause of fraud detection warnings.
We should use branch email address or fallback to KohaAdminEmailAddress,
as we do (almost) everywhere else.

Test plan:
Go to subscription detail in Koha.
Go to Claims.
Select a missing issue and click Send notification.
Verify the sender address in the generated notification. (Make sure that
you receive this mail.)

Signed-off-by: Grace McKenzie <grace.mcky@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Letters.pm