Issue Type: Bug Created: 2009-07-20T03:09:27.000+0000 Last Updated: 2009-07-20T04:18:07.000+0000 Status: Resolved Fix version(s): Reporter: Edithson Abelard (passion47) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Mail
Related issues: Attachments:
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('firstname.lastname@example.org', 'Testing'); $zm->setFrom('email@example.com'); $zm->send();
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2009-07-20T03:13:18.000+0000
Maybe it's a good idea to remove the email addresses from your issue due to spam?
Also, what's the exception you get?
Posted by Edithson Abelard (passion47) on 2009-07-20T03:36:19.000+0000
Application error is all i'm getting.
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2009-07-20T03:49:34.000+0000
If you get an application error it's most likely an error in your application, not zend_mail. I just tested the code and I was given no error whatsoever.
Closing as cannot reproduce.
Posted by Edithson Abelard (passion47) on 2009-07-20T04:18:06.000+0000
The Error very well be in my setup of the application. I used both the command line to build the project as well as use Zend Studio 7.0 to create a zend project. The only change was crating a new Controller and view script. Then adding the code above.
Have you found an issue?
See the Overview section for more details.