I have:
- set up a cakephp 3.8 application.
- installed cakedc.users 8.4
- succesfully configured the facebook login integration
You can ignore the points 2 and 3 because my problem is on the registration email sending. When i try to sign up a user, the user is correctly added to DB but i can't receive any email. The page returns me:
The "default" transport configuration does not exist.
My app.php is configured as default:
'EmailTransport' => [
'default' => [
'className' => MailTransport::class,
/*
* The following keys are used in SMTP transports:
*/
'host' => 'localhost',
'port' => 25,
'timeout' => 30,
'username' => null,
'password' => null,
'client' => null,
'tls' => null,
'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null),
],
],
'Email' => [
'default' => [
'transport' => 'default',
'from' => 'you@localhost',
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
],
],
I can't figure out why my "default" emailTransport is not correctly loaded during sending process and so Mail() function returns me this error.