className.
To use a gmail or office365 server, it should be like this:
'EmailTransport' => [
'default' => [
'className' => 'Mail',
'host' => 'smtp.office365.com',
'port' => 587,
'timeout' => 30,
'username' => 'my@email.com',
'password' => 'myPassword',
'client' => null,
'tls' => true,
'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null),
],
],
source
share