thomascube
2010-10-06 275dccfca1d7541b6e543e846691160f81e5ce58
installer/test.php
@@ -88,7 +88,7 @@
?>
<h3>Check if directories are writable</h3>
<p>RoundCube may need to write/save files into these directories</p>
<p>Roundcube may need to write/save files into these directories</p>
<?php
if ($RCI->configured) {
@@ -255,10 +255,10 @@
    $headers = array(
      'From'    => trim($_POST['_from']),
      'To'      => trim($_POST['_to']),
      'Subject' => 'Test message from RoundCube',
      'Subject' => 'Test message from Roundcube',
    );
    $body = 'This is a test to confirm that RoundCube can send email.';
    $body = 'This is a test to confirm that Roundcube can send email.';
    $smtp_response = array();
    
    // send mail using configured SMTP server
@@ -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);