/**
  * This Ajax function retrieves whether a TCP port is open or not
  */
 function runSmtpsTest()
 {
     $hostname = trim(PostmanUtils::getRequestParameter('hostname'));
     $port = intval(PostmanUtils::getRequestParameter('port'));
     $transport = trim(PostmanUtils::getRequestParameter('transport'));
     $transportName = trim(PostmanUtils::getRequestParameter('transport_name'));
     $this->logger->debug(sprintf('testing SMTPS socket %s:%s (%s)', $hostname, $port, $transport));
     $portTest = new PostmanPortTest($hostname, $port);
     $portTest->transportName = $transportName;
     $success = $portTest->testSmtpsPorts();
     $this->buildResponse($hostname, $port, $portTest, $success, $transport);
 }