This solves the problem with Exchange 2010

As a reference see https://bugs.php.net/bug.php?id=33500