i have develop a web in aso.net now i want inquiry form that visiotrs can fill their details in this form n email will b generated details will come to me as email but below code there is a 1 problem in this code ui have to give my email id with password which i dont need i just want that simple email with detail generated n i will have detail form form how do i code this i donot want to pass my email id n password i will received only email with detail


Imports System.Net.Mail

Partial Class Inquiry
Inherits System.Web.UI.Page

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim MESSAGE As New MailMessage
Dim client As New SmtpClient("smtpout.asia.secureserver.net")
client.Credentials = New System.Net.NetworkCredential("aaaaaa.net", "iaaaaa")

client.Port = 25

client.EnableSsl = False

MESSAGE.From = New MailAddress("aaa@aa.net")
MESSAGE.To.Add(New MailAddress("aa@aaa"))


message.Subject = "abc"

MESSAGE.Body = "abc"

client.Send(MESSAGE)



End Sub

Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

End Sub
End Class