Need help
I am not able to send the newsletter with the following code in .Net 2.0. All mess are in queue....of mailroot........and if i run this on server.....its shows failur sending mail...
try
{
oldConn.Open();
str =
oldComm =
oldRead = oldComm.ExecuteReader();
emails = oldRead[
mess.From =
mess.To.Add(emails);
mess.Subject = txtNewstitle.Text +
mess.IsBodyHtml =
mess.Body = txtEditor.Text;
smtp.Send(mess);
}
lblMsg.Text = ex.Message;
oldConn.Close();
txtEditor.Text =
txtNewstitle.Text =