I have a problem with SmtpMail.Send. the message sent by SmtpMail.Send stuck
in Inetpub\mailroot\Queue folder could not be sent out. The SMTP server is
in Windows 2000 server. the code that I used is:
MailMessage mail = new MailMessage();
mail.Form = "so*****@fromsite.com";
mail.To = "so*****@tosite.com";
mail.Body = "test";
mail.Suject = "test";
SmtpMail.Server.Insert(0, "127.0.0.1"); //I also tried
SmptMail.Server.Insert(0, "smtp.mail.yahoo.com");
SmtpMail.Send(mail);
Shawn