[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 29 06:17:08 CEST 2021


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

Amit Gupta <amitddng135 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #117943|0                           |1
        is obsolete|                            |
                 CC|                            |amitddng135 at gmail.com

--- Comment #5 from Amit Gupta <amitddng135 at gmail.com> ---
Created attachment 118929
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118929&action=edit
Bug 123123: Add html support for report mails

To test:
1) Create a new notice, for example with Koha module "Patrons",
   name/code TEST and message body "<strong>testing<strong>".
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.


More information about the Koha-bugs mailing list