ZF-9011: Unable to set additional parameters for Sendmail transport when using mail application resource
Description
When Implementing the Zend_Application_Resouce_Mail for use with sendmail the transport class has no way to correctly accept and additionalParameters
I have modified my version to suit my needs by altering the constructor of the transport class to identify the parameters as an array and treat them accordingly
patch attached
this will allow the use of application configs such as
; Relevant
resources.mail.transport.type = sendmail
resources.mail.transport.envelope = "-tjohn@example.com"
; Irrelevant
resources.mail.defaultFrom.email = john@example.com
resources.mail.defaultFrom.name = "John Doe"
resources.mail.defaultReplyTo.email = Jane@example.com
resources.mail.defaultReplyTo.name = "Jane Doe"
Comments
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-01-30T18:38:56.000+0000
Thank you for reporting this issue. Will be released in the next minor release, possibly earlier.
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-02-01T11:41:03.000+0000
Will be released next mini release.