Hi Guys,
I am trying to setup the smtp settings and am using gmail smtp server. When I click the send verification email, I get the below error:
at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)
2018-06-29 22:51:02.812 +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.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Net.M
ail.SendMailAsyncResult.End(IAsyncResult result)
at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)
smtp configuration:
globalSettings__mail__replyToEmail=no-reply@bw.domain.com
globalSettings__mail__smtp__host=smtp.gmail.com
globalSettings__mail__smtp__username=user@gmail.com
globalSettings__mail__smtp__password=XXXXXXXXXX
globalSettings__mail__smtp__ssl=true
globalSettings__mail__smtp__port=587
globalSettings__mail__smtp__useDefaultCredentials=false
globalSettings__disableUserRegistration=false
Any ideas?
Thanks