I am getting this message since Yahoo have made changes in user authentication.
My code still works if I use option suggested by Yahoo, which is:
While you switch apps or update your app, you can give the old app
temporary access. Just remember, this is not intended for permanent
access and you'll want to turn it off afterwards. Turn on Allow apps
that use less secure sign in. Once the feature is turned on, you'll
get regular alerts reminding you to turn it off...
My question is how to update my code to work without turning on
Allow apps that use less secure sign in.
On Yahoo side?
Code:
private void Test_Click(object sender, EventArgs e)
{
MailMessage mail = new MailMessage("userid@yahoo.com", "user@example.com", "Test", "Hello World&#