View Single Post
  #2 (permalink)  
Old 04-16-2008, 05:45 PM
Elemental's Avatar
Elemental Elemental is offline
Senior Member
 
Join Date: Jul 2007
Posts: 119
Default

$message->from should work.

If I'm not mistaken the Zend_Mail_Message works with Zend_Mail_Part and creates a property for each part of the mail. So $message->to would also work.

If they don't work you should be able to grab any parts of the header via $message->getHeader(part,format); where part is the header part you want and format is either string or array. the body is available via $message->getContent(); Also any parts of the message can be retrieved with $message->getPart(); or some such.

see the api docs and reference manual for more details.

Last edited by Elemental : 04-16-2008 at 05:48 PM.
Reply With Quote