I am new to ASP.net but i used VB a lot back in days, i am working on a site and i want to create form so the data from it could be submited to the email. i have put some stuff together but need some corrections. It feels like having brain shut down. I am paralzed and need help.. Thanks
<%
Dim EmailFrom
Dim EmailTo
Dim Subject
Dim Name
Dim LastName
EmailFrom = "Example@mysite.com"
EmailTo = "Example@mysite.com"
Subject = "Example@mysite.com"
Name = Trim(Request.Form("Name"))
LastName = Trim(Request.Form("LastName"))
Dim validationOK
validationOK=true
If (validationOK=false) Then Response.Redirect("error.htm?" & EmailFrom)
Dim Body
Body = Body & "Name: " & Name & VbCrLf
Body = Body & "LastName: " & LastName & VbCrLf
Dim mail
Set mail = Server.CreateObje ...
Go to the complete details ...