note 25171 deleted from function.imap-headerinfo by didou
| From: | didou@php.net | Date: | Sun, 14 Jan 2007 23:20:24 +0000 |
| Subject: | note 25171 deleted from function.imap-headerinfo by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121653@lists.php.net to get a copy of this message | ||
Note Submitter: jsmith at one dot net
----
This is probably trivial to most people, but it wasn't obvious to me. When you call something
like $header->from it returns an array of objects, but the array only contains one element. To
call one of the from objects in the array, I used: $personal = $header->from[0]->personal;
to get the 'personal' name. Hope this helps.