Bug 22821: Use 'reply-to' address in issue notes
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 25 Feb 2020 09:05:18 +0000 (09:05 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Mar 2020 15:44:27 +0000 (15:44 +0000)
commit04dcca4321caa0ca23870fb3299312cd4ff0d7ab
tree2e6340e94d6c6716f759388c52cc27ea7f57118e
parentcd2b79b8710f9bea2b20bf13691e77db26314199
Bug 22821: Use 'reply-to' address in issue notes

This patch updates the issue notices to not pass from_address and so
default to the branch email of the user for from_address. We now pass
the patrons email (cascading through email, emailpro, B_email) into the
reply_address field so mail servers are less likely to report emails as
spam and mail clients still have access to the patron address via the
reply-to header when staff want to hit 'reply' and have the email go to
the user.

Signed-off-by: Myka Kennedy Stephens <mkstephens@lancasterseminary.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-issue-note.pl
opac/svc/checkout_notes