Email sending code in winforms windows application c#

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 2

  • @abhijeetpasi7344
    @abhijeetpasi7344 2 роки тому +1

    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

    • @phucphanphamtrong4686
      @phucphanphamtrong4686 Рік тому

      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).