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

Reply via email to