macbase Posted January 20, 2007 Share Posted January 20, 2007 Please help me in extracting only the email id from imap-> from field the code I am using is : $overview = imap_fetch_overview($mbox,"1,1:$i",0);if(is_array($overview)){ reset($overview); while( list($key,$val) = each($overview)) { print $val->msgno ." -- ". $val->date ." -- ".$val->from ." -- ".$val->subject ." -- ". $val->size . "\n<BR>";print imap_8bit($val->from); }While printing I am not getting the email is but name only if I incert the same in a database than I can see the name <email id > also.Please help Link to comment https://forums.phpfreaks.com/topic/34982-problem-in-reading-email-id-from-imap-from-field/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.