[Koha-bugs] [Bug 22823] Koha::Library needs a method for obtaining the inbound email address
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 28 00:54:34 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22823
Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #99555|0 |1
is obsolete| |
--- Comment #8 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 99728
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99728&action=edit
Bug 22823: Add get_effective_email method to Koha::Library
Add a `get_effective_email` method to the Koha::Library object which
returns the email address for the library which they are most likely to
have access to.
This method falls back through preferences `branchreplyto`, `branchemail`,
`ReplytoDefault`, `KohaAdminEmailAddress`.
This bug simply introduces a new utility function to return the most effective
email address for a branch to be emailed on.
Test plan
1/ Read the new test and verify it makes sense
2/ Run the tests and verify they all pass.
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Tests seems ok and test pass Ok.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list