Email not working

#1

Hi experts,

I am getting this error when I invite new staff.

"Error sending email! Error sending email: Failed to send email. Reason: Invalid login "

Below is my mail setting in config file.

“mail”: {
“transport”: “SMTP”,
“options”: {
“service”: “Gmail”,
“host”: “smtp.gmail.com”,
“port”: 465,
“secureConnection”: true,
“auth”: {
“user”: "xxxx@gmail.com",
“pass”: “xxxx”
}
}

#3

It is working now. May be enabling Less Secure App access on the gmail account is taking some time.