It worked. Then it didn't.
In between those points the network admin did something to our Policy, which my localhost machine (XP Pro) falls under. We at first thought it was the firewall, so we disabled the firewall... didn't help. He's clueless. What's new.
Here's the code, in case it helps
Code:
try
{
MailMessage m = new MailMessage();
m.BodyFormat = MailFormat.Text;
m.Priority = MailPriority.High;
m.To = strTo;
m.From = strFrom;
m.Subject = strSubject;
m.Body = strBody;
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(m);
}
catch
{
}
Any ideas what the net admin could have done to make my machine halt SMTP?
Thanks in advance.