[-] BO : Customer Service options/sync mailbox not working - #PSFV-539

This commit is contained in:
vAugagneur committed 2012-02-20 16:24:51 +00:00
1 parent 12903001cc
commit 5d4ecb4072
4 files changed
+575 -553

No files matched your search

+1 -1
View File
@@ -646,7 +646,7 @@ if (Tools::isSubmit('syncImapMail'))
if (!function_exists('imap_open'))
die('{"hasError" : true, "errors" : ["imap is not installed on this server"]}');
$mbox = @imap_open('{'.$url.':'.$port.(Configuration::get('PS_SAV_IMAP_SSL') ? '/ssl' : '').'}', $user, $password);
$mbox = @imap_open('{'.$url.':'.$port.(Configuration::get('PS_SAV_IMAP_OPT') ? Configuration::get('PS_SAV_IMAP_OPT') : '').'}', $user, $password);
//checks if there is no error when connecting imap server
$errors = imap_errors();