', 'password' => 'test', 'client' => null, 'tls' => false, 'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null), 'context' => [ 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true] ] ], 'mail2' => [ 'className' => 'PHPMailerMail' ], 'sendmail' => [ 'className' => 'PHPMailerSendmail' ], ], /** * Email delivery profiles * * Delivery profiles allow you to predefine various properties about email * messages from your application and give the settings a name. This saves * duplication across your application and makes maintenance and development * easier. Each profile accepts a number of keys. See `Cake\Mailer\Email` * for more information. */ 'Email' => [ 'default' => [ 'transport' => 'default', 'from' => ['no_reply@alfaloji.org' => 'Linkoloji'], //'charset' => 'utf-8', //'headerCharset' => 'utf-8', ], 'smtp' => [ 'transport' => 'smtp', 'from' => ['no_reply@alfaloji.org' => 'Linkoloji'], //'charset' => 'utf-8', //'headerCharset' => 'utf-8', ], 'mail2' => [ 'transport' => 'mail2', 'from' => ['no_reply@alfaloji.org' => 'Linkoloji'], //'charset' => 'utf-8', //'headerCharset' => 'utf-8', ], 'sendmail' => [ 'transport' => 'sendmail', 'from' => ['no_reply@alfaloji.org' => 'Linkoloji'], //'charset' => 'utf-8', //'headerCharset' => 'utf-8', ], ], ]; Config file "email.php" did not return an array