This PHP class extracts real name and email address from email address header.
It is optimised to process both single and multiple email address headers.
This class was nominated for INNOVATION AWARD (September 2012) at
Copyright 2012-2014 Peter Kahl (www.colossalmind.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
1.2.2 ..... 2014-11-19
Changed license to Apache License, Version 2.0.
1.2.1 ..... 2014-02-06
Clean up for strict PHP standards.
1.2.0 ..... 2013-11-05
Added method to extract email address. Bug fix.
1.1.2 ..... 2013-10-29
Added stripping of quotation marks from addresses such as
Added some names to name dictionary.
1.1.1 ..... 2013-10-21
Added ability to extract from addresses such as
"user email@example.com <firstname.lastname@example.org>".
1.1.0 ..... 2013-10-21
Added ability to decode encoded header string such as
1.0.2 ..... 2012-11-29
Fixed typo where _ should have been - (hyphen) on line 58.
1.0.1 ..... 2012-11-02
Added link to repo on GitHub.
Renamed the class from "colossal_mind_extract_name_from_email_address"
1.0.0 ..... 2012-05-29