Issues

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

Issue Type: Bug Created: 2012-06-02T07:31:37.000+0000 Last Updated: 2012-06-04T13:55:35.000+0000 Status: Open Fix version(s): Reporter: Robert (bob) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Mail

Related issues: Attachments:

Description

<pre class="highlight">
$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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts