diff --git a/tests/tests/lib/ezutils/ezmail_test.php b/tests/tests/lib/ezutils/ezmail_test.php
index <HASH>..<HASH> 100644
--- a/tests/tests/lib/ezutils/ezmail_test.php
+++ b/tests/tests/lib/ezutils/ezmail_test.php
@@ -800,7 +800,7 @@ class eZMailTest extends ezpTestCase
             }
 
             // Open mailbox and delete all existing emails in the account
-            $mbox = imap_open( $mboxString, $recipient['username'], $recipient['password'] );
+            $mbox = @imap_open( $mboxString, $recipient['username'], $recipient['password'] );
             if ( !$mbox )
             {
                 $this->markTestSkipped( 'Cannot open mailbox for ' . $recipient['username'] . ': ' . imap_last_error() );
@@ -860,7 +860,7 @@ class eZMailTest extends ezpTestCase
         // Read emails
         foreach ( $recipients as $recipient )
         {
-            $mbox = imap_open( $mboxString, $recipient['username'], $recipient['password'] );
+            $mbox = @imap_open( $mboxString, $recipient['username'], $recipient['password'] );
             if ( !$mbox )
             {
                 $this->markTestSkipped( 'Cannot open mailbox for ' . $recipient['username'] . ': ' . imap_last_error() );
Fix failing imap tests, silence errors causing failures