Anyway, here is an interesting tidbit which may help save you some headaches when using the SugarCRM e-mail client.
IMAP based e-mail accounts that require the use of SSL have a tendency to cause problems within SugarCRM's e-mail client. In fairness, the majority of these problems are usually the result of one of the following:
- Connectivity issues (e.g. firewalls)
- PHP Configuration
Where SugarCRM could benefit is within the area where the e-mail settings are validated and tested. SugarCRM does not check for potential problems with either of those potential traps and it tends to complicate the troubleshooting process. Let's take a more in-depth look at one of these situations and hopefully save ourselves some future hair pulling.
One of the more common scenarios pertains to the inability to connect to an IMAP server that requires SSL via SugarCRM, although attempts at doing so via other applications, e.g. Microsoft Outlook, are successful.
The first step in troubleshooting this problem is to ensure that IMAP has been enabled within your PHP install. Assuming it is, verify that SSL is enabled. Assuming it is, one should see an entry that reads SSL Support => Enabled within the output of the PHP configuration.
Now, one would naturally assume that having these two items in place would be sufficient to make things work. Unfortunately, multiple servers I've encountered would prove otherwise.
Upon further analysis on the differences between the working and non-working PHP installations on the servers involved, it became apparent that Kerberos support also needed to be enabled as part of the IMAP extension in order for the functionality to work.
Please note that this is not a problem with SugarCRM, i.e. it is not a bug. Any PHP script using the IMAP extension (c-client) would and does experience the same problem as the SugarCRM e-mail client.
Hope this helps save you some troubleshooting time.