CC: | "Ruslan Zakirov" <ruz [...] bestpractical.com> |
Subject: | No way to recover skipped non-RFC822 parts |
When parsing email address lists it can be desirable to recover those parts that could not be recognised and extracted as email addresses.
Good reasons to do this are:
* Reporting good error messages to the user; and
* Handling unmatched parts via secondary lookups
In my particular case I want to treat unmatched parts (which may not contain quotes or commas) as local user names and look them up in a database to get their email addresses for an Request Tracker (RT) module.
It appears that Email::Address::List is a version of Email::Address adapted to do just this. Would you consider adopting that module's parse method?