From d1dd13ee5c8b74ff134024eea85facf6ae8f3364 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 25 Aug 2010 15:09:13 -0400
Subject: [PATCH] - Fix SMTP test in Installer (#1486952)

---
 installer/test.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/installer/test.php b/installer/test.php
index a465e2f..d1b5979 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -276,7 +276,8 @@
       $send_headers = $mail_object->headers($headers);
 
       $SMTP = new rcube_smtp();
-      $SMTP->connect();
+      $SMTP->connect(rcube_parse_host($RCI->getprop('smtp_server')),
+        $RCI->getprop('smtp_port'), $CONFIG['smtp_user'], $CONFIG['smtp_pass']);
 
       $status = $SMTP->send_mail($headers['From'], $headers['To'],
           ($foo = $mail_object->txtHeaders($send_headers)), $body);

--
Gitblit v1.9.1