fetch an email address
I have been looking all over for the Zend_Mail call to fetch the email address from an IMAP account. When I call the Zend_Mail_Storage_Imap class and create an object mail...I can use header calls to fetch values.
example:
$message = $mail->getMessage($messageNum);
// output subject of message
echo $message->subject . "\n";
This works fine....
what would i use to fetch the email address
When I use from....I get the Name of the sender not the email address...
thanks ahead of time
Cary Woods
|