[Vtigercrm-developers] mailscanner <> gmail v6.0

Rishab K rishab.k at vtiger.com
Fri Jun 20 12:07:31 GMT 2014


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> 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> 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, saved with success.
>>
>> Rgds
>> Andrew Smith
>>
>>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140620/ac6b3233/attachment.html>


More information about the vtigercrm-developers mailing list