[Vtigercrm-developers] mailscanner <> gmail v6.0
SIAM Translations LLP
info at siam-translations.com
Fri Jun 20 15:24:14 GMT 2014
Thank Rishab
I added, fired MailBox.php in cli - no errors. It messed somewhere else.
Will dig more and if this is not my fault will report.
Cheers
Andrew
On 20-06-2014 7:07 PM, Rishab K wrote:
> In MaiBox.php under
> /6.0.0/modules/Settings/MailConverter/handlers/MailBox.php in
> getFolders api check if there is any imap_error
> after
> if($imapfolders){
> //foreach to get folder names from the connecturl
> }
> add
>
> else {
> return imap_last_error();
> }
>
>
> On Fri, Jun 20, 2014 at 4:10 PM, Siam Translations LLP
> <info at siam-translations.com <mailto:info at siam-translations.com>> wrote:
>
> Stuck here...
> cron log says:
> *
> Scanning imap.gmail.com <http://imap.gmail.com> in progress*
> *Warning: Invalid argument supplied for foreach() in
> /home/siamtran/domains/xxx.com/public_html/erp/modules/Settings/MailConverter/handlers/MailScanner.php
> <http://xxx.com/public_html/erp/modules/Settings/MailConverter/handlers/MailScanner.php>
> on line 82
> *
>
>
> MailScanner.php on line 82 :
>
> *foreach($folders as $lookAtFolder) {*
> *// Skip folder scanning?*
> *if(in_array($lookAtFolder, $ignoreFolders)) {*
> *$this->log("\nIgnoring Folder: $lookAtFolder\n");*
> *continue; *
> *}*
>
> Help will be appreciate
>
> Regards
> Andrew
>
>
>
> On Fri, Jun 20, 2014 at 12:54 PM, Siam Translations LLP
> <info at siam-translations.com <mailto:info at siam-translations.com>>
> wrote:
>
> Switched recently from own smtp to gmail and noticed that
> mailscanner do not harvesting related to contacts and leads
> emails.
> Fired: bash -x cron/vtigercron.sh
> and got
> following:[CRON],"1403243002.4002",http://www.mydomain.com/vt/,MailScanner,"2014-
> 06-20 05:43:23","",[STARTS] No mailbox configured
> for scanning!
> but mailbox settings changed to imap.gmail.com
> <http://imap.gmail.com>, saved with success.
>
> Rgds
> Andrew Smith
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140620/1ef9d808/attachment.html>
More information about the vtigercrm-developers
mailing list