From 8df6aa0f23a5138e2a3fe7d3f7fb8951f05a4a7a Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 25 Aug 2010 19:09:13 +0000 Subject: - Fix SMTP test in Installer (#1486952) git-svn-id: https://svn.roundcube.net/trunk@3906 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/installer/test.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roundcubemail/installer/test.php') diff --git a/roundcubemail/installer/test.php b/roundcubemail/installer/test.php index a465e2f0b..d1b59794e 100644 --- a/roundcubemail/installer/test.php +++ b/roundcubemail/installer/test.php @@ -276,7 +276,8 @@ if (isset($_POST['sendmail'])) { $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); -- cgit v1.2.3