Adam,<div><br></div><div>Mail notification trigger and dispatch is spread across in the codebase,</div><div>there was a design discussion to simplify this first before consuming the</div><div>vtlib/Vtiger/Mailer.php. A reason of not biting it soon.</div>

<div><br></div><div>vtlib/Vtiger/Mailer.php - is being used by serveral utlitly tools we use on day-to-day basis for support.</div><div>I&#39;m sure there would be much better and smarter implementation of the same. </div>

<div>Watching for the same.</div><div><br></div><div>Regards,</div><div>Prasad<br><br><div class="gmail_quote">On Tue, Oct 16, 2012 at 12:57 AM, Adam Heinz <span dir="ltr">&lt;<a href="mailto:amh@metricwise.net" target="_blank">amh@metricwise.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just noticed there&#39;s also a vtlib/Vtiger/Mailer.php that extends<br>
PHPMailer, but doesn&#39;t appear to be used anywhere in the codebase.<br>
This is a great example of not eating your own dogfood; whenever<br>
possible, the core modules should be built on top of vtlib.<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>