AnsweredAssumed Answered

SugarCRM not finding php5-imap module?

Question asked by clayt0n clayt0n on May 28, 2015
Latest reply on May 29, 2015 by jsmith
We recently upgraded from Ubuntu Precise to Ubuntu Trusty (both LTS's) and shortly thereafter upgraded to SugarCRM CE 6.5.20. Somewhere in there inbound e-mail stopped working.

In /var/log/apache2/error.log we are seeing a lot of these:

"PHP Fatal error:  Call to undefined function imap_mime_header_decode() in /var/www/sugarcrm/modules/InboundEmail/InboundEmail.php on line 3712"

In the SugarCRM UI we are getting this message:

"Inbound Email cannot function without the IMAP c-client libraries enabled/compiled with the PHP module"

But, the php5-imap was and is installed, and this worked until recently.

$sugar_version      = '6.5.20';
php5-imap Version: 5.4.6-0ubuntu5
lsbdistdescription => Ubuntu 14.04.2 LTS