note 7400 deleted from function.imap-header by felipe
| From: | felipe@php.net | Date: | Sat, 29 Dec 2007 18:32:00 +0000 |
| Subject: | note 7400 deleted from function.imap-header by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134160@lists.php.net to get a copy of this message | ||
Note Submitter: lint at phpcult dot com
----
here's something even easier:
<br>
<pre>
$header = imap_header($mail_connection, msgnum);
$from = htmlspecialchars($header->fromaddress);
echo $from;
</pre>