[Vtigercrm-commits] [Vtiger development] #8051: MailScanner gets configured but doesn't seem to scan any email.
Vtiger development
vtiger-tickets at trac.vtiger.com
Fri May 16 11:26:57 GMT 2014
#8051: MailScanner gets configured but doesn't seem to scan any email.
-----------------------+------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: 6.1.0
Component: vtigercrm | Version: 6.0.0
Severity: Medium | Resolution:
Keywords: |
-----------------------+------------------------
Comment (by prasad):
'''How did this 01-Jan-1970 enter into vtiger_mailscanner_folders?'''
When mailbox inforation was saved and folder lastscan time is updated
function dateBasedOnMailServerTimezone($format='d-M-Y') was being invoked
in modules/Settings/MailConverter/handlers/MailScannerInfo.php
For some reason ($this->timezone was getting set to "<space>") so
!empty($this->timezone) succeeds and ends up with invalid timestamp which
happens to be 01-Jan-1970 due to behavior of strtotime function with blank
hours&min!
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8051#comment:2>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list