accountPassword!="") { $authenticate = true; $visibility = "visible"; } else { $authenticate = false; $visibility = "hidden"; } error_log('email_config->snapshotOnTicket:'.$email_config->snapshotOnTicket); if($_SERVER[REQUEST_METHOD]=='POST') { $returnMessage = $_REQUEST['returnMessage']; $errorCode = $_REQUEST['errorCode']; $displayMessage = $_REQUEST['Message']; } // $netConfig->ip = "0001:0002:0003:0004:0005:0006:0007:0008"; $ipv4 = explode(".", $email_config->smtpServer); $ipv6 = explode(":", $email_config->smtpServer); $ipv4_length = count($ipv4); $ipv6_length = count($ipv6); if (preg_match("/:/", $email_config->smtpServer)) { $assignment = 'static6'; $text_attributes = 'size="45" maxlength="39"'; } else { $assignment = 'static4'; $text_attributes = 'size="45" maxlength="39"'; //$text_attributes = 'size="32" maxlength="16"'; } ?>