View Single Post
  #1 (permalink)  
Old 04-16-2008, 05:23 PM
Cary Woods Cary Woods is offline
Junior Member
 
Join Date: Apr 2008
Location: USA
Posts: 3
Default 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
Reply With Quote