]> git.koha-community.org Git - koha.git/commit
Bug 12739 - SendAlerts function does not take care of "html" format or UTF-8 Pt. 2
authorDavid Cook <dcook@prosentient.com.au>
Tue, 23 Dec 2014 03:13:39 +0000 (14:13 +1100)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 31 Mar 2015 05:26:07 +0000 (18:26 +1300)
commit777c2a88de0994dbbb09fe1dd22a7544e7db21dc
tree870e337188bbeb6af3887834746f21a46eaed33a
parentca55332525445ae1f05e8652445c87305d8a4efe
Bug 12739 - SendAlerts function does not take care of "html" format or UTF-8 Pt. 2

The emails sent via SendAlerts don't take into account HTML format.

_TEST PLAN_

Before applying:

1) Change system preference "AutoEmailOpacUser" to "Send"
2) Change "ACCTDETAILS" notice to HTML and add HTML to it
3) Create a new user with your email address
4) Note how the email displays the HTML tags as plain text

Apply patch

5) Create a new user with your email address
6) Note how the email displays the email as an HTML email

For thoroughness:

7) Change "ACCTDETAILS" notice to non-HTML
8) Create a new user with your email address
9) Note how the email displays the HTML as plain text

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 54731a0ce10094b60fd0b9541c24fbffc49a2c05)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
C4/Letters.pm