Bug 28017: Allow non-FQDN (@localhost) addresses
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 22 Mar 2021 17:47:33 +0000 (14:47 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Apr 2021 16:51:37 +0000 (18:51 +0200)
commit4413557b0074bc7b7fc6b2614889f23521ecb0ee
tree8058164a727a3bb94e4d7f2c52f091f4ac550386
parentd949c4fc20882397b24cbb28fd6f20c7ecb102be
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>
Koha/Email.pm