<?php
// Change these to make tests run successfully
-$server = '{localhost}';
+$server = '{localhost/norsh}';
$default_mailbox = $server . "INBOX";
$domain = "something.com";
$admin_user = "webmaster"; // a user with admin access
return $match[1];
}
-?>
\ No newline at end of file
+?>
extension_loaded('imap') or die('skip imap extension not available in this build');
// Change these to make tests run successfully
-$mailbox = '{localhost}';
+$mailbox = '{localhost/norsh}';
$username = 'webmaster@something.com';
$password = 'p4ssw0rd';
$options = OP_HALFOPEN; // this should be enough to verify server present
die("skip could not connect to mailbox $mailbox");
}
imap_close($mbox);
-?>
\ No newline at end of file
+?>