Posted on: 11/30/2014 10:10:34 AM | Views : 486

Hi all
i send email in my code and i got it but i try after sending email to redirect to page i need but it not working and i don't know why ?
MailAddress From = new MailAddress("ahmed.mo.amin@mhafez.net", "knee-hip.com Admin", Encoding.UTF8); MailAddress To = new MailAddress("ahmed.mo.amin@gmail.com"); MailMessage Message = new MailMessage(From, To); Message.Body = String.Format("Dear: Mr. {0} {1} Your Account With This E-Mail Is Approved Now By Admin", Environment.NewLine, Environment.NewLine); Message.Subject = "Your Account Is Approved"; Message.IsBodyHtml = false; SmtpClient Client = new SmtpClient("mail.mhafez.net"); Client.Credentials = new NetworkCredential("ahmed.mo.amin@mhafez.net", "Password"); Client.Po ...

Go to the complete details ...