[Vtigercrm-developers] Fwd: Re: mailscanner <> gmail v6.0
Vic Cekvenich
vic.cvc at gmx.com
Sun Aug 17 18:53:55 GMT 2014
-------- Original Message --------
Subject: Re: [Vtigercrm-developers] mailscanner <> gmail v6.0
Date: Fri, 20 Jun 2014 17:37:31 +0530
From: Rishab K <rishab.k at vtiger.com>
Reply-To: vtigercrm-developers at lists.vtigercrm.com
To: vtigercrm-developers at lists.vtigercrm.com
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/
-------------- next part --------------
_______________________________________________
http://www.vtiger.com/
More information about the vtigercrm-developers
mailing list