<p dir="ltr">To extend you should either add code in Email_Local.pm or Email_Overlay.pm. If you name it as Email.pm then you have to copy all code from existing module and modify it.</p>
<p dir="ltr">I'm not sure about differences between Overlay and Local but I think that difference is for OO vs adding some functionality.</p>
<p dir="ltr">--<br>
Nilesh</p>
<div class="gmail_extra"><br><div class="gmail_quote">On 31-Oct-2016 9:45 PM, "Matt Zagrabelny" <<a href="mailto:mzagrabe@d.umn.edu">mzagrabe@d.umn.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alex,<br>
<br>
On Mon, Oct 31, 2016 at 11:09 AM, Alex Hall <<a href="mailto:ahall@autodist.com">ahall@autodist.com</a>> wrote:<br>
> Hey list,<br>
> How would I override /opt/rt4/lib/RT/Interface/<wbr>Email.pm?<br>
<br>
Overlays.<br>
<br>
<a href="https://docs.bestpractical.com/rt/4.4.1/RT/StyleGuide.html#EXTENDING-RT-CLASSES" rel="noreferrer" target="_blank">https://docs.bestpractical.<wbr>com/rt/4.4.1/RT/StyleGuide.<wbr>html#EXTENDING-RT-CLASSES</a><br>
<br>
It looks like there is also an outdated wiki article:<br>
<br>
<a href="https://rt-wiki.bestpractical.com/wiki/ObjectModel" rel="noreferrer" target="_blank">https://rt-wiki.bestpractical.<wbr>com/wiki/ObjectModel</a><br>
<br>
-m<br>
---------<br>
RT 4.4 and RTIR training sessions, and a new workshop day! <a href="https://bestpractical.com/training" rel="noreferrer" target="_blank">https://bestpractical.com/<wbr>training</a><br>
* Los Angeles - Q1 2017<br>
</blockquote></div></div>