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. Learn more at' getting this error
Hi bro. Check if SSL = true in your code. If you're using Two-factors authenticated, then your password should be the App-Password ( You can setting this in your email).
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. Learn more at' getting this error
Hi bro. Check if SSL = true in your code. If you're using Two-factors authenticated, then your password should be the App-Password ( You can setting this in your email).