Nevermind, I got the answer. It should be:
Try
Mail.Send()
Response.Write("It worked, your form has been submitted by email!!!")
Catch ex As Exception
Response.Write("There...
Type: Posts; User: WCScript; Keyword(s):
Nevermind, I got the answer. It should be:
Try
Mail.Send()
Response.Write("It worked, your form has been submitted by email!!!")
Catch ex As Exception
Response.Write("There...
OK, that makes sense but I'm to stupid to know how to fix it ... :(
Would it be this then:
Try
Mail.Send()
Mail = Nothing
Catch ex As Exception
Can someone help me with this please? I have a form on a .NET webserver using aspx pages with the vb code-behind pages. The form collects the entered data and then emails it, that part works fine.
...