Ok, here is what I got...
$headinfo = imap_header($mbox, $mesid);
when I do:
htmlentities($headinfo->fromaddress)
:it returns the Name if available and the address. But I can't figure out how to use the from[] object. Can anyone shed some light on this for me?