<div dir="ltr">Okay ;)</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 20, 2014 at 8:54 PM, SIAM Translations LLP <span dir="ltr"><<a href="mailto:info@siam-translations.com" target="_blank">info@siam-translations.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Thank Rishab <br>
<br>
I added, fired MailBox.php in cli - no errors. It messed somewhere
else. <br>
Will dig more and if this is not my fault will report.<br>
<br>
Cheers<br>
Andrew<div><div class="h5"><br>
<br>
<br>
On 20-06-2014 7:07 PM, Rishab K wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">In MaiBox.php under
/6.0.0/modules/Settings/MailConverter/handlers/MailBox.php in
getFolders api check if there is any imap_error
<div>after
<div>if($imapfolders){</div>
<div>//foreach to get folder names from the connecturl</div>
<div>}<br>
<div>add</div>
<div><br>
</div>
<div>
<div> else {<br>
</div>
<div> return imap_last_error();</div>
<div> }</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Jun 20, 2014 at 4:10 PM, Siam
Translations LLP <span dir="ltr"><<a href="mailto:info@siam-translations.com" target="_blank">info@siam-translations.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Stuck here...<br>
cron log says:
<div>
<div><b><br>
Scanning <a href="http://imap.gmail.com" target="_blank">imap.gmail.com</a>
in progress</b></div>
<div><b>Warning: Invalid argument supplied for foreach()
in /home/siamtran/domains/<a href="http://xxx.com/public_html/erp/modules/Settings/MailConverter/handlers/MailScanner.php" target="_blank">xxx.com/public_html/erp/modules/Settings/MailConverter/handlers/MailScanner.php</a>
on line 82<br>
</b></div>
</div>
<div><br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">
<div>
<div>MailScanner.php on line 82 :<br>
<br>
<div><b>foreach($folders as $lookAtFolder) {</b></div>
<div><b><span style="white-space:pre-wrap"> </span>//
Skip folder scanning?</b></div>
<div><b><span style="white-space:pre-wrap"> </span>if(in_array($lookAtFolder,
$ignoreFolders)) {</b></div>
<div><b><span style="white-space:pre-wrap"> </span>$this->log("\nIgnoring
Folder: $lookAtFolder\n");</b></div>
<div><b><span style="white-space:pre-wrap"> </span>continue; </b></div>
<div><b><span style="white-space:pre-wrap"> </span>}</b></div>
<br>
</div>
<div>Help will be appreciate</div>
<div><br>
</div>
<div>Regards</div>
<div>Andrew</div>
<br>
</div>
</div>
</div>
<div>
<div>
<br>
<br>
<div class="gmail_quote">On Fri, Jun 20, 2014 at
12:54 PM, Siam Translations LLP <span dir="ltr"><<a href="mailto:info@siam-translations.com" target="_blank">info@siam-translations.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Switched recently from own smtp to
gmail and noticed that mailscanner do
not harvesting related to contacts and
leads emails. <br>
Fired: bash -x cron/vtigercron.sh</div>
<div>and got
following:[CRON],"1403243002.4002",<a href="http://www.mydomain.com/vt/,MailScanner," target="_blank">http://www.mydomain.com/vt/,MailScanner,</a>"2014-
06-20 05:43:23","",[STARTS]
No mailbox configured for scanning!<br>
but mailbox settings changed to <a href="http://imap.gmail.com" target="_blank">imap.gmail.com</a>,
saved with success.<br>
<br>
</div>
<div>Rgds</div>
<div>Andrew Smith</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>