Similar to this question, how could I parse e-mail addresses which are in this format,
"Bob Smith" <[email protected]>, [email protected], "John Doe"<[email protected]>
And get the a result like this:
array(
'[email protected]'=>'Bob Smith'
'[email protected]'=>''
'[email protected]'=>'John Doe'
);
See Question&Answers more detail:os