I'm out of ideas! If I do this:
string strTo = "[email protected]";
string strFrom = "[email protected]";
string strSubject = "turn on html";
MailMessage mail = new MailMessage(strFrom, strTo, strSubject, "<u>ok!</u>");
SmtpClient smtp = new SmtpClient("127.0.0.1");
smtp.Send(mail);
it works, but I see the html tags in outlook.
if I do:
mail.IsBodyHtml = true;
before
smtp.Send(mail);
I dont receive the email!
I have checked Exchange Message Tracking, the message is not there.
I have checked the smtp Logs, I dont see my message!
I have checked the spam filter, no message!
I have checked junk email folder, not there!
wierd thing is if I change the strTo to an external email it works!!!!
going crazy here :-(