Koha::Notice::Message - Koha notice message Object class, related to the message_queue table
my $bool = $message->is_html;
Returns a boolean denoting whether the message was generated using a preformatted html template.
my $wrapped_content = $message->html_content;
This method returns the message content appropriately wrapped with HTML headers and CSS includes for HTML formatted notices.
$failed_notice->restrict_patron_when_notice_fails;
Places a restriction (debarment) on patrons with failed SMS and email notices.