summaryrefslogtreecommitdiff
path: root/installer/test.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-08-25 19:09:13 +0000
committeralecpl <alec@alec.pl>2010-08-25 19:09:13 +0000
commitd1dd13ee5c8b74ff134024eea85facf6ae8f3364 (patch)
treeb4e54ee7206922972c1fe4086762b5c8f727d6bd /installer/test.php
parent70cfb42839b8a87e9dbc99f9060c494590adb5e6 (diff)
- Fix SMTP test in Installer (#1486952)
Diffstat (limited to 'installer/test.php')
-rw-r--r--installer/test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/test.php b/installer/test.php
index a465e2f0b..d1b59794e 100644
--- a/installer/test.php
+++ b/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);