|
|
|
@ -8,7 +8,7 @@ $password = 'p4ssw0rd'; |
|
|
|
$options = OP_HALFOPEN; // this should be enough to verify server present |
|
|
|
$retries = 0; // dont retry connect on failure |
|
|
|
|
|
|
|
$mbox = imap_open($mailbox, $username, $password, $options, $retries); |
|
|
|
$mbox = @imap_open($mailbox, $username, $password, $options, $retries); |
|
|
|
if (!$mbox) { |
|
|
|
die("skip could not connect to mailbox $mailbox"); |
|
|
|
} |
|
|
|
|