ZF-5394: Zend_Mime_Message::createFromMessage() - invalid creation of Zend_Mime_Part
Description
I tried to get an instance of Zend_Mime_Message via its createFromMessage() method but I am getting an E_WARNING (see. below). I tried to find out what it is causing it and found out, that an array instead of a string will be put as parameter to Zend_Mime_Part's constructor. You have to use $part['body'] instead of $part as parameter for Zend_Mime_Part::__construct().
{quote}Notice: Array to string conversion in /usr/share/php/Zend/Mime.php on line 131{quote}
Comments
Posted by Jan Pieper (jpieper) on 2009-01-02T06:55:59.000+0000
Attached diff to fix this bug.
Posted by Jan Pieper (jpieper) on 2009-01-02T06:58:15.000+0000
Added missing notice.
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-01-02T23:46:03.000+0000
Solved in SVN r13497