Hi,
Have someone configured mail with gmail? I have added the following configuration in local.config.php
'mail' => [
'transport' => [
'type' => 'smtp',
'options' => [
'name' => 'gmail.com',
'host' => 'smtp.gmail.com',
'port' => '587', // 465 for 'ssl', and 587 for 'tls'
'connection_class' => 'smtp', // 'plain', 'login', or 'crammd5'
'connection_config' => [
'username' => 'user@gmail.com',
'password' => 'password',
'ssl' => 'tls', // 'ssl' or 'tls'
'use_complete_quit' => true,
],
],
],
],
but I always get the same error:
Laminas\Mail\Protocol\Exception\RuntimeException
5.7.0 Authentication Required. Learn more at 5.7.0 https://support.google.com/mail/?p=WantAuthError m9sm20600553wrs.36 - gsmtp
The user gmail account have “Less secure app access” on.
The Omeka admin email is the same that is setting in the connection_config.
I have also tried to change the port to 465 and the ssl property to “ssl”, but I get the same error.
Any idea what the problem is?
Thank you in advance!