Why return only the first FROM address?
I noticed that the sender and from addresses are treated differently than the rest of the addresses by the getAddresses method in that only the first address listed for each is actually returned. For the sender address, this makes sense. Though extremely rare, however, it is possible for an email to have multiple addresses listed in the FROM header.
It's also worth noting that if you set $asString to true on the getAddresses method, all addresses listed for sender and from are returned, not just the first ones.
If you want to make a pull request I'll change this.
Given that the returned data would be different (it would be a multidimensional array, and it wasn't before), this would break backward compatibility. Is this project trying to stick with semver? And if so, are you good with bumping the version number?
I"m good with bumping the version number, particularly as there are other changes I would like to make that also break BC.