[Koha-bugs] [Bug 22343] Add SMTP configuration options to Administration
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 3 12:22:08 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22343
--- Comment #149 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 109605
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109605&action=edit
Bug 22343: Add classes for handling SMTP servers
This patch introduces classes to handle SMTP servers. It is done in a
way that a default server can be set, and then per-library ones can be
set. All should be done with Koha::SMTP::Servers methods, that take care
of overwriting library-specific configs, and handle the defaults
retrieval and setting correctly.
To test:
1. Apply this patches
2. Run:
$ kshell
$ perl installer/data/mysql/updatedatabase.pl
=> SUCCESS: Atomic update is ok, smtp_servers table created
3. Run:
k$ prove t/db_dependent/Koha/SMTP/
=> SUCCESS: Tests pass!
4. Sign off :-D
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list