[Koha-bugs] [Bug 22343] Add configuration options for SMTP servers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 6 12:45:06 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22343

--- Comment #220 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 113240
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113240&action=edit
Bug 22343: (QA follow-up) Remove double encoding from sent emails

The sent emails from Koha were garbled / double encoded because
Koha::Email now after the refactoring and moving to use Email::Stuffer
handles the encoding itself. Previously the Koha::Email callee had to
handle the encoding. This patch removes the double encoding in the
email subject and content.

To test:
 1) Put some UTF-8 characters like ä in the HOLD template subject and body
 2) Create hold and check-in an item to make it Waiting and cause the
 email to be send
 3) Notice the email comes garbled / double encoded
 4) Apply patch
 5) Repeat step 2) and notice the email comes without any issues in
    encoding and look OK.
 6) Make sure "prove t/Koha/Email.t" and "prove
    t/db_dependent/Letters.t" and passes

Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list