mmucklo / email-parse

Email\Parse is a multiple (and single) email address parser for php that is reasonably RFC822 / RFC2822 compliant.
MIT License
46 stars 15 forks source link

Add ParseOptions in order to address issue #22 #23

Closed mmucklo closed 3 years ago

mmucklo commented 3 years ago

First option implemented is BannedChars.

It defaults to ['%', '!'] but can be overridden by passing in a ParseOptions into the constructor or calling the setter.