echo "\n-- Testing ezmlm_hash() function with more than expected no. of arguments --\n";
$extra_arg = 10;
-var_dump( ezmlm_hash("webmaster@something.com", $extra_arg) );
+var_dump( ezmlm_hash("webmaster@example.com", $extra_arg) );
echo "\n-- Testing ezmlm_hash() function with invalid input - ARRAY --\n";
$array_arg = array(1,2,3,4);
Warning: ezmlm_hash() expects parameter 1 to be binary string, resource given in %s on line %d
NULL
-===DONE===
\ No newline at end of file
+===DONE===
// Change these to make tests run successfully
$server = '{localhost}';
$default_mailbox = $server . "INBOX";
-$domain = "something.com";
+$domain = "example.com";
$admin_user = "webmaster"; // a user with admin access
$username = "$admin_user@$domain";
$password = 'p4ssw0rd';
return $match[1];
}
-?>
\ No newline at end of file
+?>
// Change these to make tests run successfully
$mailbox = '{localhost}';
-$username = 'webmaster@something.com';
+$username = 'webmaster@example.com';
$password = 'p4ssw0rd';
$options = OP_HALFOPEN; // this should be enough to verify server present
$retries = 0; // dont retry connect on failure
die("skip could not connect to mailbox $mailbox");
}
imap_close($mbox);
-?>
\ No newline at end of file
+?>