split email from string with PHP
<p>I need to be able to split a string that contains email's "From" information. From the string I need to extract $NAME and $EMAIL or whatever is available.</p>

<p>The string can be in the following formats:</p>

<pre><code>"Santa Clause" &lt;santa@npole.com&gt;

Santa Clause &lt;santa@npole.com&gt;

&lt;santa@npole.com&gt;
</code></pre>
