Email Config Error

Hi, I have used my Email-Configuration since “years”. But now as I migrated to 3.6 I receive an error "Transport config “alfa” is invaled, the required classNameis missing.
The error is thrown by Cake\Mailer\Email->_contructTransport.

My configuration in the app.php is like:
‘EmailTransport’ => [
‘default’ => [
‘className’ => ‘Mail’,
// The following keys are used in SMTP transports
‘host’ => ‘localhost’,
‘port’ => 25,
‘timeout’ => 30,
‘username’ => ‘user’,
‘password’ => ‘secret’,
‘client’ => null,
‘tls’ => null,
],
‘alfa’ => [
‘default’ => [
‘className’ => ‘Smtp’,
// The following keys are used in SMTP transports
‘host’ => ‘alfa312.alfahosting-server.de’,
‘port’ => 995,
‘timeout’ => 30,
‘username’ => ‘’,
‘password’ => '
*’,
‘client’ => null,
‘tls’ => null,
‘url’ => env(‘EMAIL_TRANSPORT_DEFAULT_URL’, null),
],
],
],

'Email' => [
    'default' => [
        'transport' => 'default',
        'from' => 'info@projekt-lebensalter.de',
    //'charset' => 'utf-8',
    //'headerCharset' => 'utf-8',
    ],
    'project' => [
        'transport' => 'alfa',
        'from' => ['info@projekt-lebensalter.de' => 'Projekt LebensAlter'],
    ],
],

The mail starts in the controller with:
$this->getMailer(‘User’)->send(‘infomail’, [$user]);

The UserMailer.php:

<?php namespace App\Mailer; use Cake\Mailer\Mailer; /** * User mailer. */ class UserMailer extends Mailer { /** * Mailer's name. * * @var string */ static public $name = 'User'; public function infomail($user) { $this->to($user->email) ->profile('project') ->emailFormat('html') ->template('project_info_template') ->layout('default') ->viewVars(['name' => $user->username]) ->subject(sprintf('Hallo, %s', $user->username)); } } I think the configuration in the newer cake-version needs changes, but which???
‘alfa’ => [
  ‘default’ => [
    ‘className’ => ‘Smtp’,
    ...
  ]
]

that doesnt look ok, it should be without that default level here

Thanks, I wonder how I could oversee this.:grimacing::grinning: