jamesiarmes/php-ews — pull request #107 by joadha (2012-12-13 01:34:17+00:00)
Title: newews() misconfigures the EWS object when username property is set

The email address associated with one's Exchange mailbox is *not always* equal to said user's username. In such cases, the newews() function failed. Only when this->username is null should we assume we can substitute the email address for the username.