dongphusang / Terra

Plant Management
GNU General Public License v3.0
3 stars 0 forks source link

SMTP client authentication failed #17

Closed dongphusang closed 1 year ago

dongphusang commented 1 year ago

[Exception] 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.

[Solution] Enable 2FA then enable app password in gmail account settings. Use the newly created password along with the gmail to authenticate and use google smtp service.