cakephp/cakephp — pull request #3808 by voycey (2014-06-26 09:41:16+00:00)
Title: Updated CakeEmail to default to "default" config for RFC

I guess there might be a reason for this not being done (or it just isn't considered important), but why does the CakeEmail config not default to "default" when that is the name of the provided config in email.php.default?

If it is left empty having it use the "default" config seems sensible, and if it is provided then use that config.

Also I'm not sure if / what tests to alter for this? It seems to be handled in the current tests checking for empty.