Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.10.0
-
Fix Version/s: 1.10.1
-
Component/s: Zend_Application_Resource, Zend_Mail
-
Labels:None
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"
Attachments
Issue Links
| This issue duplicates: | ||||
| ZF-9034 | Mail resource creates SMTP transport with wrong parameters |
|
|
|
| This issue is duplicated by: | ||||
| ZF-9033 | Unable to configure sendmail transport with Mail resource |
|
|
|
| This issue is related to: | ||||
| ZF-5337 | Transport_Smtp constructor should allow Zend_Config as parameters |
|
|
|
| This issue is related to: | ||||
| ZF-11022 | Setting resources.mail.transport.register = true causes an extra email to be sent to a bogus address. |
|
|
|
Thank you for reporting this issue. Will be released in the next minor release, possibly earlier.