Sam

Sam

  • NA
  • 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("[email protected]", "passwordyahoo")
smtp.UseDefaultCredentials = False
smtp.EnableSsl = True
smtp.Port = 465

Which code is wrong and how to fix this problem


Answers (2)