3.0 email config example #1629

Merged
merged 1 commit into from Sep 12, 2013

2 participants

@ADmad
CakePHP member

No description provided.

@lorenzo lorenzo and 2 others commented on an outdated diff Sep 12, 2013
App/App/Config/app.php.default
@@ -183,7 +183,7 @@ $config = [
*/
'EmailTransport' => [
'default' => [
- 'className' => 'Mail',
+ 'className' => 'Cake\\Network\\Email\\MailTransport',
@lorenzo
CakePHP member
lorenzo added a line comment Sep 12, 2013

Is it not possible anymore to use the short name?

@ADmad
CakePHP member
ADmad added a line comment Sep 12, 2013

I don't know, examples for datasources and log config use full namespace so i did the same.

@markstory
CakePHP member
markstory added a line comment Sep 12, 2013

Short classnames will work both here and in datasources, or at least they should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@ADmad
CakePHP member

@lorenzo @markstory I changed the classname back to short name

@renan
CakePHP member

👍

@renan renan merged commit 8f58b68 into cakephp:3.0 Sep 12, 2013

1 check failed

Details default The Travis CI build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment