LP1532236 Evergreen should allow for HTML formatted action trigger emails
authorblake <blake@mobiusconsortium.org>
Fri, 8 Jan 2016 15:41:49 +0000 (09:41 -0600)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 8 Jan 2016 19:04:31 +0000 (14:04 -0500)
commitc727dce578b1dc598c0cb25537b2520de1648fde
tree5ff71a18774c0a1a0f841e62ac98a3fdf51ffd66
parentfac7557f6c65e0ba2b4a808bea830b7fbef8f491
LP1532236 Evergreen should allow for HTML formatted action trigger emails

Simple fix for allowing the AT template to drive the email headers instead
of replacing the headers blindly. Kudos to tsbere for the unless idea.

Testing: setup an action trigger for SendEmail. Make sure your AT template includes
an email header (EG: Content-Type: text/html;charset=utf-8)
Setup a hold/circulation that meets the criteria of your action trigger. Check the
resuting email's headers to match what you had put into the template.

Signed-off-by: blake <blake@mobiusconsortium.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor/SendEmail.pm