❔ Getting error with sending an email in C# using gmail's smtp server.
Hi everyone. So I wanted to learn how to send an email using C# and I keep getting this error. I doubt it is something to do with my code and it might be a problem with my google account or something else. Nevertheless, I'll still send it here incase there is a problem in my code.
Here is the code:
This is the error message I am getting:
I've searched everywhere and every solution I try doesn't seem to work, so I've come here to see if there is any answer I can get. I've been working on this for about 2 hours so if you can, please send a solution ASAP.
Here is the code:
This is the error message I am getting:
I've searched everywhere and every solution I try doesn't seem to work, so I've come here to see if there is any answer I can get. I've been working on this for about 2 hours so if you can, please send a solution ASAP.
