Sam

Sam

  • 0
  • 94
  • 0

Yahoo Email Failure Sending

Jun 8 2022 7:58 AM

Already setup yahoo email with 2step authentication and created app password but email still failure send ?


Dim smtp As New System.Net.Mail.SmtpClient
smtp.Host = "mail.yahoo.com"
smtp.Credentials = New System.Net.NetworkCredential("user@yahoo.com", "passwordyahoo")
smtp.UseDefaultCredentials = False
smtp.EnableSsl = True
smtp.Port = 465

Which code is wrong and how to fix this problem


Answers (2)