ZF-8811: Zend_Application_Resource_Mail requires lowercase defaults
Description
In docs, Zend_Application_Resource_Mail is configured as follows:
resources.mail.defaultFrom.email = john@example.com resources.mail.defaultFrom.name = "John Doe"
However the actual code is:
$key = strtolower('default' . $type);
$options = $this->getOptions();
if(isset($options[$key]['email']) &&
!is_numeric($options[$key]['email']))
{
$method = array('Zend_Mail', 'setDefault' . ucfirst($type));
...etc.
i.e. it expects lowercase "defaultfrom" in the options.
Comments
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-01-21T07:32:37.000+0000
Issue should now be fixed. Thank you for reporting.