Mail configuration

Hi, I have tried setting configuration for new user by using he coding in the omeka s manual

‘mail’ => [
‘transport’ => [
‘type’ => ‘smtp’,
‘options’ => [
‘name’ => ‘’,
‘host’ => ‘’,
‘port’ => ‘465’, // 465 for ‘ssl’, and 587 for ‘tls’
‘connection_class’ => ‘plain’, // ‘plain’, ‘login’, or ‘crammd5’
‘connection_config’ => [
‘username’ => ‘’,
‘password’ => ‘password’,
‘ssl’ => ‘ssl’, // ‘ssl’ or ‘tls’
‘use_complete_quit’ => true,

but there is an error like this

is there any solution to fix this?
Thank you in advance!

Hi @SK0041, I’m pretty sure you won’t be able to send emails with Gmail anymore. I could be wrong and there might be a way, but Google disabled less secure apps from simply logging in with a username and password last year .

Is there another way to send a new account activation link? or a working module to be able to send an account activation link?

If you can’t use sendmail on your server, then you’ll just need to use another non Gmail email account or an email service provider that allows sending emails via smtp.