]> git.koha-community.org Git - koha.git/commit
Bug 28017: Allow non-FQDN (@localhost) addresses
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 22 Mar 2021 17:47:33 +0000 (14:47 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 13 Apr 2021 15:04:45 +0000 (17:04 +0200)
commitc05b3c6ea22327fc84c21f5cff17aae32f595d73
tree5b667988793f4df7b0eaa292d2231be9348860c8
parent7e20fc90c67be19b8dbf33836ea2bf1d23e5565d
Bug 28017: Allow non-FQDN (@localhost) addresses

This patch makes Koha::Email support using @localhost addresses.

To test:
1. Apply the regression tests
2. Run:
   $ kshell
  k$ prove t/Koha/Email.t
=> FAIL: Koha::Email doesn't support non-fqdn addresses
3. Apply this patch
4. Repeat 2
=> SUCCESS: All tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 4413557b0074bc7b7fc6b2614889f23521ecb0ee)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Email.pm