The SMTP server requires a secure connection or the client was not
authenticated. The server response was: 5.7.0 Authentication
required
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack
trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not
authenticated. The server response was: 5.7.0 Authentication required
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can be
identified using the exception stack trace below.
Stack Trace:
[SmtpException: The SMTP server requires a secure connection or the client was
not authenticated. The server response was: 5.7.0 Authentication required]
System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String
response) +116
System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command,
MailAddress from, Boolean allowUnicode) +48
System.Net.Mail.SmtpTransport.SendMail(MailAddress sender,
MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode,
SmtpFailedRecipientException& exception) +88
System.Net.Mail.SmtpClient.Send(MailMessage message) +1857
FlightJournal.Web.Models.EmailService.SendAsync(IdentityMessage message) in
D:\a\startlist.club\startlist.club\FlightJournal.Web\App_Start\IdentityConfig.
cs:177
[Exception: Failed to send to larssverrerasmussen@gmail.com from no-
reply@startlist.club]
FlightJournal.Web.Models.EmailService.SendAsync(IdentityMessage message) in
D:\a\startlist.club\startlist.club\FlightJournal.Web\App_Start\IdentityConfig.
cs:186
Microsoft.AspNet.Identity.<SendEmailAsync>d136.MoveNext() +329
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
+102
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotific
ation(Task task) +64
FlightJournal.Web.Controllers.<GenerateEmailConfirmationEmail>d17.MoveNext()`
`Server Error in '/' Application.
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication required Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication required Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication required] System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) +116 System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode) +48 System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) +88 System.Net.Mail.SmtpClient.Send(MailMessage message) +1857 FlightJournal.Web.Models.EmailService.SendAsync(IdentityMessage message) in D:\a\startlist.club\startlist.club\FlightJournal.Web\App_Start\IdentityConfig. cs:177 [Exception: Failed to send to larssverrerasmussen@gmail.com from no- reply@startlist.club] FlightJournal.Web.Models.EmailService.SendAsync(IdentityMessage message) in D:\a\startlist.club\startlist.club\FlightJournal.Web\App_Start\IdentityConfig. cs:186 Microsoft.AspNet.Identity.<SendEmailAsync>d136.MoveNext() +329 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +102 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotific ation(Task task) +64 FlightJournal.Web.Controllers.<GenerateEmailConfirmationEmail>d17.MoveNext()`