Aleksander Machniak
2015-10-23 74ce01efc75fa9085436bfe79c3e6c42c2966783
installer/test.php
@@ -325,7 +325,7 @@
        $status = mail($headers['To'], $headers['Subject'], $body, $header_str);
      else
        $status = mail($headers['To'], $headers['Subject'], $body, $header_str, '-f'.$headers['From']);
      if (!$status)
        $smtp_response[] = 'Mail delivery with mail() failed. Check your error logs for details';
    }
@@ -340,7 +340,7 @@
  else {
    $RCI->fail('SMTP send', 'Invalid sender or recipient');
  }
  echo '</p>';
}
@@ -405,7 +405,7 @@
if (isset($_POST['imaptest']) && !empty($_POST['_host']) && !empty($_POST['_user'])) {
  echo '<p>Connecting to ' . Q($_POST['_host']) . '...<br />';
  echo '<p>Connecting to ' . rcube::Q($_POST['_host']) . '...<br />';
  $imap_host = trim($_POST['_host']);
  $imap_port = $RCI->getprop('default_port');