ZF-8811: Zend_Application_Resource_Mail requires lowercase defaults

Issue Type: Bug Created: 2010-01-13T16:31:43.000+0000 Last Updated: 2010-01-21T07:32:37.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Stanislav Malyshev (stas) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Application_Resource

Related issues: Attachments:


In docs, Zend_Application_Resource_Mail is configured as follows: = = "John Doe"

However the actual code is:

<pre class="highlight">
       $key = strtolower('default' . $type);
        $options = $this->getOptions();

        if(isset($options[$key]['email']) &&
            $method = array('Zend_Mail', 'setDefault' . ucfirst($type));


i.e. it expects lowercase "defaultfrom" in the options.


Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-01-21T07:32:37.000+0000

Issue should now be fixed. Thank you for reporting.

Have you found an issue?

See the Overview section for more details.


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

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