<div dir="ltr">I didn't test it. But if I'm not mistaken, crons are run via vtigercrm/vtigercron.php , so it's indeed the root folder.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Saludos<div><br></div><div>Rubén</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 13, 2020 at 12:11 PM Ing. Matus Sopko <<a href="mailto:sopko@its4you.sk">sopko@its4you.sk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<font face="monospace">Did you test it ?<br>
<br>
Becuase I suppose the cronjob in ot running from vtiger /root<br>
so this one will not work:<br>
<br>
</font><br>
<font face="monospace">
+require_once("modules/Emails/class.phpmailer.php");<br>
</font>
<table>
<tbody>
<tr id="gmail-m_76630715077031551377ee2d4941b628d8fb951f56da936bd218af0b9b3_27_25">
<td>+require_once("modules/Emails/class.smtp.php");</td>
</tr>
<tr id="gmail-m_76630715077031551377ee2d4941b628d8fb951f56da936bd218af0b9b3_27_26">
</tr>
</tbody>
</table>
<pre cols="72">S pozdravom / Best regards / Mit freundlichen Grüßen
Ing. Matus SOPKO
IT-Solutions4You s.r.o.
Kancelária: Slovenská 69
Sídlo: Frantiskanske nam.5
080 01 Prešov
SLOVAKIA
Tel./ Fax +421/ 51/ 7732370
email: <a href="mailto:sopko@its4you.sk" target="_blank">sopko@its4you.sk</a>
<a href="http://www.its4you.sk" target="_blank">http://www.its4you.sk</a>
skype: matussopko</pre>
<div>Dňa 13. 11. 2020 o 18:14 Rubén A.
Estrada Orozco napísal(a):<br>
</div>
<blockquote type="cite">
<div dir="ltr">Awesome! Thanks Uma!<br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">Saludos
<div><br>
</div>
<div>Rubén</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Nov 13, 2020 at 2:49
AM Uma S <<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">We have deleted the duplicate cron phpmailer
class <a href="https://code.vtiger.com/vtiger/vtigercrm/merge_requests/767" target="_blank">Ref1</a>, <a href="https://code.vtiger.com/vtiger/vtigercrm/merge_requests/768" target="_blank">Ref2</a><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Nov 13, 2020 at
11:50 AM Uma S <<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi Ruben,
<div><br>
</div>
<div>Thanks! for the note, No need to have duplicates we
can get rid of cron/class.phpmailer.php.</div>
<div><br>
</div>
<div>We could notice that there are no much dependencies
on this cron class.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Nov 12, 2020
at 5:33 AM Rubén A. Estrada Orozco <<a href="mailto:rulotec1@gmail.com" target="_blank">rulotec1@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Can anybody remind me why we have two
phpmailer classes in vtiger (one in the cron folder
and another one in modules/Emails)?
<div><br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">Saludos
<div><br>
</div>
<div>Rubén</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">With<br>
Best Regards<br>
Uma.S<br>
<div>Vtiger Team</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div dir="ltr">With<br>
Best Regards<br>
Uma.S<br>
<div>Vtiger Team</div>
</div>
</div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>