$v) { $v = str_replace('::amp::', '&', $v); $v = str_replace('::plus::', '+', $v); $v = str_replace('::percent::', '%', $v); $_REQUEST[$k] = $v; } if(ob_get_level() > 0) { ob_end_clean(); } if(ob_get_level() < 1) { ob_start(); } require_once('modules/InboundEmail/language/'.$current_language.'.lang.php'); global $theme; $title = ''; $msg = ''; $tls = ''; $cert = ''; $ssl = ''; $notls = ''; $novalidate_cert = ''; $useSsl = false; /////////////////////////////////////////////////////////////////////////////// //// TITLES $popupBoolean = false; if (isset($_REQUEST['target']) && $_REQUEST['target'] == 'Popup') { $popupBoolean = true; } if (isset($_REQUEST['target1']) && $_REQUEST['target1'] == 'Popup') { $popupBoolean = true; } if($popupBoolean) { $title = ''; $msg = $mod_strings['LBL_TEST_WAIT_MESSAGE']; } if(isset($_REQUEST['ssl']) && ($_REQUEST['ssl'] == "true" || $_REQUEST['ssl'] == 1)) { $msg .= $mod_strings['LBL_FIND_SSL_WARN']; $useSsl = true; } $ie = new InboundEmail(); if(!empty($_REQUEST['ie_id'])) { $ie->retrieve($_REQUEST['ie_id']); } $ie->email_user = $_REQUEST['email_user']; $ie->server_url = $_REQUEST['server_url']; $ie->port = $_REQUEST['port']; $ie->protocol = $_REQUEST['protocol']; //Bug 23083.Special characters in email password results in IMAP authentication failure if(!empty($_REQUEST['email_password'])) { $ie->email_password = html_entity_decode($_REQUEST['email_password'], ENT_QUOTES); $ie->email_password = str_rot13($ie->email_password); } $ie->mailbox = 'INBOX'; if($popupBoolean) { $msg = $ie->connectMailserver(true); } //// END TITLES /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// //// COMMON CODE echo /*' SugarCRM - Commercial Open Source CRM '.SugarThemeRegistry::current()->getCSS().' */'

'; if($popupBoolean) { /* echo ' ';*/ } echo '
'.SugarThemeRegistry::current()->getImage('h3Arrow', 'border="0"', 11, 11, ".gif", $mod_strings['LBL_POPUP_TITLE']).'

 '.$title.'

'.$msg.'
'.$iniError.'
  
'; //// END COMMON CODE /////////////////////////////////////////////////////////////////////////////// ?>