ZF-7318: Zend_Mail has an error when you use the method send, while within the 1.84pl framework
I'm using the Zend Studio 7 Beta with the patch 1.8.4 version of the framework. I made and attempt to send an email via Zend_Mail but Application error shows up instead. Now while debugging what portion of the code is causing the problem I found that the error is caused when the method send is used.
The following is the code I used to send the mail
$zm = new Zend_Mail(); $zm->setBodyHtml('<b>Test info</b>'); $zm->addTo('email@example.com', 'Testing'); $zm->setFrom('firstname.lastname@example.org'); $zm->send();