I am a ASP novice and am troubleshooting a form for work. None of us here are ASP experts as we use PHP. But I am on the bottom of PHP experience as well, mostly working wit
Google now blocks sign-ins from an app (even over SSL) to send an email. You have two options:
For option 2, you will have to enable 2-factor authentication before you can generate an app pasword. Here are the steps I took to get this working on my ASP.NET web app
How to configure an ASP.NET web app with Gmail SMTP