TYPO3 Flow Base DistributionPackagesApplications

Bug #39337

TransportFactory does not set all options

Added by Bastian Waidelich about 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-07-27
Priority:Must have Due date:
Assigned To:Bastian Waidelich % Done:

100%

Category:-
Target version:-

Description

The TransportFactory currently uses method_exists() to find out whether an option is settable on the factory.
Unfortunately this does not work because SwiftMailer uses magic methods to set some of those.
It's currently not possible to set username and password for the SmtpTransport!

Associated revisions

Revision 014991a1
Added by Bastian Waidelich about 3 years ago

[BUGFIX] TransportFactory does not set all options

The TransportFactory currently uses method_exists() to find out
whether an option is settable on the factory.
Unfortunately this does not work because SwiftMailer uses magic
methods to set some of those.

This change uses FLOW3s reflection service to figure out settable
options.

Change-Id: Icff75f342b90a116c13294b10a8f36fa0e728592
Fixes: #39337

History

#1 Updated by Gerrit Code Review about 3 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13213

#2 Updated by Bastian Waidelich about 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF