Hello all,
I made a fresh install a few hours ago and I’m trying to verify my new user but it seems that something is not working. My current setup inside ./bwdata/env/global.override.env
is:
[email protected]
globalSettings__mail__smtp__host=smtp.gmail.com
globalSettings__mail__smtp__username=MyAccount
globalSettings__mail__smtp__password=MyPassword
globalSettings__mail__smtp__ssl=true
globalSettings__mail__smtp__port=587
globalSettings__mail__smtp__useDefaultCredentials=false
globalSettings__disableUserRegistration=true
./bwdata/logs/api/Api/date-filename.log
file ouputs this:
2018-09-10 21:48:30.928 +00:00 [Error] Mail send failed.
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.MailCommand.EndSend(IAsyncResult result)
at System.Net.Mail.SendMailAsyncResult.SendMailFromCompleted(IAsyncResult result)
— End of stack trace from previous location where exception was thrown —
at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)
at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)
I tried to change the port to 465, disable SSL, a different account…but nothing seems to work.
BTW, I changed “enable insecure apps” option to yes in the Gmail account.
Could someone help me with this?
Thanks!