Creating a simple email form content using Asp.net
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 9439
Total Votes: 94 votes
Category: ASP.Net/Email Systems
Submitted on: 2008-03-07 04:09:46
Submitted By: Devesh Khanna
Description:The article is about asp.net postback feature for email form content. You should have a form with the runat="server" attribute and server controls.
Initially your button server control should have the attribute OnClick. The OnClick value will be alike to the Sub control that sends the email. The value selected for OnClick attribute is is "SendEmail". In coding part at the top of the page import the right Namespace in order that the right classes will load with the page.
The Sub must follow the OnClick selection and have the same name be supposed to start in this way:
Sub SendEmail(Sender As Object, e As EventArgs) More detail...