[Koha-bugs] [Bug 27884] Add html mail support for email report

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 8 18:59:15 CET 2021


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

David Gustafsson <glasklas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117869|0                           |1
        is obsolete|                            |

--- Comment #3 from David Gustafsson <glasklas at gmail.com> ---
Created attachment 117942
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117942&action=edit
Bug 123123: Add html support for report mails

To test:
1) Create a new notice, for example with Koha module "Patrons" and
   name/code TEST
2) Create a new sql report, the query could be someting like:
   SELECT "<number>" as `borrowernumber`, "to at example.com", as `email`,
"from at example.com" as `from`;
   where "<number>" is a valid borrowernumber.
3) Run patron_emailer.pl --report=<id> --notice=TEST --module=members -commit
   where <id> is the report id.
4) Check the message_queue table that the content_type column has been
   set to text/html; charset="UTF-8".
5) Ideally process the message queue and veriy that the sent email is displayed
   as rendered html.

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


More information about the Koha-bugs mailing list