note 32141 added to function.imap-header

From: Date: Sun, 18 May 2003 18:50:27 +0000
Subject: note 32141 added to function.imap-header
Groups: php.notes 
Request: Send a blank email to php-notes+get-48545@lists.php.net to get a copy of this message
I've tried several times to get the imap_header to work. Here is the solution. And, it's the only correct one desperate all other comments on this page! $mFrom = $oHeader->from; $FROM = $mFrom[0]->mailbox."@".$mFrom[0]->host; $NAME = $mFrom[0]->personal; Relating object is $oHeader while $FROM will contain the mail address and $NAME the sender's name (if set). Greetings from Bavaria ;-) -- Manual Page -- http://www.php.net/manual/en/function.imap-header.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32141 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32141&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32141&report=yes

« previous php.notes (#48545) next »