libemailfunctions
com
Examples: "Stefan Taferner <taferner>" returns "taferner" and "Stefan Taferner". "joe" returns "joe" and "". Note that this only returns the first address. Also note that the return value is TRUE if both the name and the mail are not empty: this does NOT tell you if mail contains a valid email address or just some rubbish.