Closed amonares closed 4 years ago
I am encountering the same issue.
The setStreamOptions
is only called by the configureMailerTransport
: https://github.com/symfony/swiftmailer-bundle/blob/master/DependencyInjection/SwiftmailerExtension.php#L192
I think it is missing in the SwiftmailerTransportFactory
: https://github.com/symfony/swiftmailer-bundle/blob/master/DependencyInjection/SwiftmailerTransportFactory.php#L37
configureMailerTransport
is used only if no environment variable is used:
https://github.com/symfony/swiftmailer-bundle/blob/master/DependencyInjection/SwiftmailerExtension.php#L96
I don't see why this should be the case. It's really annoying and force use to hardcode passwords is some environments.
Closing as #289 should fix it.
Hi I was expected to allow stream_options when using url, but not.
This dont work:
But this configuration work flawless:
Or is there a form to pass the stream_options into the URL form.
Best regards, thanks for the work Álvaro Monares G.