Patron update emails should ostensibly come "from" the patron, only falling back to the koha admin in the case where the patron doesn't have a valid email address in their record. This way, the library can respond directly to the patron's information update, as an example, letting them know that the update has been completed.
Created attachment 5432 [details] [review] Bug 6870 [enh] - allow opac-userupdate.pl to use the patron's email as 'from' address Patch makes it so that Koha sends patron update emails from the first valid patron email address, instead of from the KohaAdmin or branch email address. This patch should make it so that libraries can directly reply to patrons regarding patron updates. To test: Create a patron with no email address, do a patron update and observe the to: and from: - they should both be the KohaAdminEmail address. Add an email address to that same patron, and send a patron update. Observe the to: and from: - the from: should be the first valid email address of the patron, to should be the KohaAdminEmail address.
Created attachment 5465 [details] [review] Signed-off patch
Easy patch to read, makes use of standard subroutines, has fallback to standard behaviour to avoid regression. Marking as Passed QA
Pushed please test