Author: oroborus | Posted on: 5/27/2009 8:01:36 AM | Views : 249

Hello Everyone
I've built a simple contact form for a college project I'm working on. It's got 4 text inputs for Name, Sender's E-Mail Address, Subject and Body.
When submitted, I want the form data to be sent to an e-mail address specified in the code. Now, I've tried half a dozen tutorials that are close to what I want but with no luck. A lot of tutorials I've found are for sending e-mail when all I want to do is submit the form content to an e-mail address specified by me. I'm using ASP.NET 2.0 and I'm really trying to keep it as simple as possible, something like this...
<%@ Import Namespace="System.Net.Mail" %>
<SCRIPT Runat="Server">

Sub Send_Email (Src As Object, Args As EventArgs)

Dim MailFrom As String = "dadams@mail.maconstate.edu"
Dim MailTo As String = "dadams@mail.maconstate.edu"
Dim MailS ...

Go to the complete details ...