This is annoying.
Although the reason might be external to SugarCRM (probably the server of some module?), could someone from the SugarCRM team dig into this, please?
[Edit] I am now convinced that the problem comes from the server, not SugarCRM. In my case, the server runs debian and there seems to be a bug in debian. I use other servers that run CentOS or FreeBSD and the imap feature works perfectly.
You may test this script on your server to test if imap works correctly (change variables to your gmail login):
PHP Code:
<?php
$google_username = 'test@gmail.com';
$google_password = 'password'';
$res = imap_open('{imap.gmail.com:993/ssl/novalidate-cert}INBOX, $google_username, $google_password);
if($res) {
echo "Connecting to mail server ... DONE";
imap_close($res);
} else {
echo "Connecting to mail server ... FAILED<BR>";
echo "Cause: ". imap_last_error();
}
?>
Bookmarks