i have serious problem in my web site.
i had use
some sort of code to send email in my website.the problem is that code
works properly in one page and don't work on the other page.
i'm completely confused.
the code behind and web.config :
MailMessage mail = new MailMessage();
mail.From = new MailAddress("firstname.lastname@example.org");
mail.Subject = txtSubject.Text;
mail.Body = "
mail.IsBodyHtml = true;
SmtpClient smtp = new SmtpClient("mailserver.com");
smtp.Credentials = new NetworkCredential("email@example.com","password");
W E B . C O N F I G
View Complete Post