MailMessage Msg = new MailMessage(); SmtpClient Smtp = new SmtpClient(); EmailID = txtEmailID.Text.Trim(); Msg.From = new MailAddress("PrasadAnumolu999@gmail.com"); Msg.To.Add(EmailID); Msg.Subject = "Please Confirm You Activation Link"; ActivationURL = Server.HtmlEncode("http://localhost:2759/EmailVarification.aspx" + "&EmailID=" + EmailID); Msg.Body="Hi" +txtEmailID.Text.Trim() +"!\n" + "Thanks For You Interest For Visiting My Web Site <a href='http://stuffuser.blogspot.in/'> STUFFUSER.in</a>" + " Please <a href='" + ActivationURL + "'>click here to activate</a> your account and enjoy our services. \nThanks!"; Msg.IsBodyHtml = true; Smtp.Port = 25; Smtp.Host = "Smtp.Gmail.com"; Smtp.EnableSsl = true; Smtp.Credentials = new NetworkCredential("PrasadAnumolu@gmail.com", "sai!#%&(99"); Smtp.Send(Msg);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)