Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to use two step authentication (Gmail) during sending mail in C# win form

What I have tried:

Try this solution
security - SmtpClient in C# using smtp.Gmail.com:857 with Google's 2 Step Verification activated - Stack Overflow[^]

but it's doesn't work
Posted
Updated 4-May-17 21:34pm

1 solution

You need to generate app password from the account which has two step authentication is activated

You should generate app password from here

Generate App Password.[^]


Formore info

c# - How do I send an email with Gmail and SmtpClient when the sending account uses two factor authentication? - Stack Overflow[^]

Let me know if you have any query or concern for same.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900