MailMessage emailmsg = new MailMessage();
emailmsg.From = new MailAddress("abc@inc.com", "abc");
emailmsg.To.Add(new MailAddress("cdf@inc.com", "cdf"));
emailmsg.Subject = "Regarding Some information";
emailmsg.Body = "stest bodcy";
emailmsg.IsBodyHtml = true;
emailmsg.Priority = MailPriority.Normal;
SmtpClient mailclient = new SmtpClient("smtp.bizmail.yahoo.com");
mailclient.Credentials = new System.Net.NetworkCredential("careers@inc.com", "123");
mailclient.Send(emailmsg);