note 7370 deleted from function.imap-header by felipe
| From: | felipe@php.net | Date: | Sat, 29 Dec 2007 18:32:40 +0000 |
| Subject: | note 7370 deleted from function.imap-header by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134162@lists.php.net to get a copy of this message | ||
Note Submitter: mayorga at tadecom dot com
----
If you want to retrieve From address, not From name, use this:
$from=$header->from; $fromaddr=sprintf("%s@%s",$from[0]->mailbox,$from[0]->host);