Author: amereto2k | Posted on: 5/27/2009 4:13:37 AM | Views : 289

hi,
On my footballer.aspx page it contains information about a footballer.
 I have a button which a visitor can click and this opens up a new window on the
page which allows them to send an email to a friend using the Mail Message asp.net
class as below
protected void Button1_Click(object sender, EventArgs e) {
 
MailMessage mail = new MailMessage(); mail.To.Add(FriendsEmailTxt.Text);
mail.Body = yourNameTxt.Text + Go to the complete details ...