Hi,

Isn't it because you didn't escape '<' and '>'? ;)

Try htmlspecialchars($message->from);

b.



2009/7/20 tarzanhb <[email protected]>:
>
> hi
>
> i am using the Zend_Mail_Storage_Pop3 for downloading mails from a pop3
> server.
> if a want to get the e-mail adress from a sender of any emails, which i
> am downloading, i have a problem.
> i only get the name from the sender of a email and not his e-mail address!
>
> echo "FROM:".$message->from;
> or
> echo "FROM:".$message->getHeader('from');
>
> only delivers the name  but not the e-mail address.
> It looks like Zend_Mail cuts the e-mail address from the "from" part!

Reply via email to