Ive set 2FA for my account and set apppassword. Still getting the same error:
Unable to read data from the transport connection: net_io_connectionclosed.
Port I`m using is: 465
How I can use .NET 4.5 HttpClient to send emails using gmail account?