PHP Classes

Extract Name from Email Address: Extract person name from e-mail address header

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-11-18 (6 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 270 This week: 2All time: 6,942 This week: 707Up
Version License PHP version Categories  
extract-name-email 1.2.2Free To Use But R...5.0Email, PHP 5, Text processing
Description Author  

This class can extract person name from e-mail address header.

It can parse given e-mail header line that should contain a person name and attempts to extract the person name from it.

The class uses certain heuristics to evaluate common ways people put their names in e-mail addresses to split the person names in its multiple parts.

A dictionary of common people names may be used to assure that the extracted names are part of the actual person name.

Innovation Award  
PHP Programming Innovation award nominee
September 2012
Number 5
Some applications receive e-mail messages from users that do not specify their real name.

This class tries to guess the real name of a person that uses given e-mail address by parsing the address and splitting it in possible names that make part of the person real name.

Manuel Lemos
Picture of Peter Kahl
Name: Peter Kahl <contact>
Classes: 5 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 11725 in Hong Kong Hong Kong
Week rank: 283 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file Class The main class
Accessible without login Plain text file dictionary-names.php Aux. Dictionary of common names
Accessible without login Plain text file example-1.php Example Process single address
Accessible without login Plain text file example-2.php Example Process multiple addresses
Accessible without login Plain text file Doc. Readme

 Version Control Unique User Downloads Download Rankings  
 0%Total:270All time:6,942
 This week:2This week:707Up