Yes sir, I see what you're saying and I believe that you're absolutely right. The SwiftmailerExtension does indeed allow for the "null" transport, but the Configuration class is incorrectly not allowing for it.
Would you like to fix it and send a pull request? Thanks! Ryan Weaver US Office Head & Trainer - KnpLabs - Nashville, TN http://www.knplabs.com <http://www.knplabs.com/en> http://www.thatsquality.com Twitter: @weaverryan On Fri, Mar 25, 2011 at 8:40 AM, Ruudk <[email protected]> wrote: > Thanks Ryan, > > But that doesn't work for me. I want to check if the message is > successfully delivered or not. When disable_delivery is TRUE then the send() > method will return FALSE. The NullTransport will always return TRUE. > > I fixed it (for now) by creating a new Mailer instance with the > NullTransport and injecting that into my service. > > But the problem is of course the bug in the Config component. It doesn't > allow "null" as a value. > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
