]> git.koha-community.org Git - koha.git/commit
Bug 22343: Revamped Koha::Email class
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 6 Aug 2020 15:38:45 +0000 (12:38 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 2 Oct 2020 08:54:40 +0000 (10:54 +0200)
commit178592887bf9fe24d681a6c1d5f64ab1b8b5766e
tree365e44163d6d2700a97d2ebb42ed4ace4297e063
parent0de6a7edff50c30b2b5580d12472813aaf0711d3
Bug 22343: Revamped Koha::Email class

This patch completely rewrites the Koha::Email class, inheriting from
Email::Stuffer. The latter suits well the use by Email::Sender, which is
to replace Mail::Sendmail on this patchset.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/Koha/Email.t
=> SUCCESS: Tests pass!
3. Verify all conditional codepaths are covered
4. Sign off :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Email.pm
cpanfile
t/Koha/Email.t [new file with mode: 0644]
t/Koha_Email.t [deleted file]