Closed ArthurHoaro closed 3 years ago
@ArthurHoaro
Okay, I've done some changes to tidy up things and make the minimum version to 7.1
Can you merge in my changes to your PR?
Hey! Sorry it took me 2 years to update this PR. :grimacing:
But I think it's still valid, so I did while going through my open PRs. I also updated the implementation to avoid applying the regex twice.
This PR allows to parse emails with accented names just as it already does with name without accents (without quotes).
For example,
Testing Name <tname@asdf.ghjkl.com>
becomesTesting Name
tname
asdf.ghjkl.com
With this change, the following failing use case
Étienne Cloître <e.cloitre@domain.tld>
will now be parsed with:Étienne Cloître
e.cloitre
domain.tld
I also forced the PHP version in composer because it was failing with PHP 7.2 installed.