Issues

ZF-9034: Mail resource creates SMTP transport with wrong parameters

Issue Type: Bug Created: 2010-01-31T22:21:14.000+0000 Last Updated: 2010-02-01T12:13:59.000+0000 Status: Closed Fix version(s): - 1.10.1 (10/Feb/10)

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

Related issues: - ZF-9011

Attachments:

Description

Zend_Mail_Transport_Sendmail expects string "parameters" option in the ctor. However, the resource code now is:

        case 'Zend_Mail_Transport_Sendmail':
        default:
            $transport = new $transportName($options);
            break;

which means it passes there $options array and when sending the mail, it fails since mail() function would not accept parameters as an array. This means it's impossible to configure sendmail transport through resource.

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