diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-08-25 19:09:13 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-08-25 19:09:13 +0000 |
| commit | 8df6aa0f23a5138e2a3fe7d3f7fb8951f05a4a7a (patch) | |
| tree | 42e986706b705b5802ebfc9e89a3a9cd4483bd11 /roundcubemail/installer | |
| parent | d68ee90ca60804752b411c3bd73792f1356796ed (diff) | |
- Fix SMTP test in Installer (#1486952)
git-svn-id: https://svn.roundcube.net/trunk@3906 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/installer')
| -rw-r--r-- | roundcubemail/installer/test.php | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
