//create the mail message MailMessage objEmail = new MailMessage();objEmail.To = "niks@yahoo.com";objEmail.From = "admin@yahoo.com";objEmail.Cc = "shiv@yahoo.com";objEmail.Subject = "Test Email";objEmail.Body = "Hi This is test email"; //finally send the email SmtpMail.Send(objEmail);