<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Add this directly above or below the Subject line in the template but before the blank line.
<div class=""><br class="">
</div>
<div class="">
<dl style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14.592000007629395px;" class="">
<dt id="Content-Type:-text-html" style="font-weight: bold; position: relative; padding-left: 1em; left: -1em;" class="">
Content-Type: text/html</dt></dl>
<div class=""><br class="">
</div>
<div style="">
<blockquote type="cite" class="">
<div class="">On Oct 26, 2016, at 12:15 PM, Alex Hall <<a href="mailto:ahall@autodist.com" class="">ahall@autodist.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">Hello list,<br class="">
</div>
I'm starting to test a custom template. When RT tries to use it, I see an error appear in the system log:<br class="">
<br class="">
</div>
Use of uninitialized value in substitution (s///) at /opt/rt4/sbin/../lib/RT/Transaction.pm line 362<br class="">
<br class="">
</div>
That line seems to be detecting any form of new line it can, so how could my template possibly cause such an odd problem? This is my first stab at custom templates; my boss doesn't want quoted text, so he wants reply links in the body of notification emails
 that people will use in place of standard email replies. I've pasted the text of my template below:<br class="">
<br class="">
<br class="">
Subject: {$Transaction->CreatorObj->Name} Updated Ticket {Ticket->id}<br class="">
<br class="">
Ticket {$Ticket->id} was updated (<br class="">
<a href="mailto:{$Ticket->QueueObj->CorrespondAddress}">click here to reply</a>):<br class="">
<br class="">
{$Transaction->Description}<br class="">
<br class="">
Please do not reply to this message. Instead, <br class="">
<a href="mailto:{$Ticket->QueueObj->CorrespondAddress}">click here to reply</a>, <br class="">
or <br class="">
<a href="{$RT::WebAuthURL}/Ticket/Display.html?id={$Ticket->id}">open this ticket on the ticket site</a>.<br class="">
<br clear="all" class="">
<div class="">
<div class="">
<div class="">
<div class=""><br class="">
-- <br class="">
<div class="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div class="">Alex Hall<br class="">
</div>
Automatic Distributors, IT department<br class="">
</div>
<a href="mailto:ahall@autodist.com" target="_blank" class="">ahall@autodist.com</a><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
---------<br class="">
RT 4.4 and RTIR training sessions, and a new workshop day! <a href="https://bestpractical.com/training" class="">
https://bestpractical.com/training</a><br class="">
* Boston - October 24-26<br class="">
* Los Angeles - Q1 2017</div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
--<br class="">
Landon Stewart<br class="">
Lead Analyst - Abuse and Security Management<br class="">
INTERNAP ®<br class="">
📧 <a href="mailto:lstewart@internap.com" class="">lstewart@internap.com</a><br class="">
🌍 <a href="http://www.internap.com" class="">www.internap.com</a></div>
</div>
</div>
<br class="">
</div>
</body>
</html>