ASP.NET web form works locally on localhost but not when uploaded to server
I have created a web form that is meant to email information back to my email address when submitted. This works fine as expected when I run it locally but not after I upload it to the server. I’m using prositehosting to host my website so I can’t really configure any server settings. Is it a setting on the server that is blocking the emails from going through or is something missing from my code. Here’s some of the code: