Issues

ZF-12268: Zend_Mail with Methode generateMessage() throw a Fatal error with Call to a member function getContent() on a non-object

Description


$mail = new Zend_Mail();
$mail->setFrom("test@test.com", "TEST");
$mail->setSubject("Subject");
$mail->setBodyHtml("Body");
$mail->addTo("someone@someone.com");
$messageString = $mail->generateMessage();

generateMessage() throw this error message: Fatal error: Call to a member function getContent() on a non-object in /Volumes/library/Zend/Mime/Message.php on line 140'

Comments

No comments to display