string to = \"email@hotmail.co.uk\";
string body = \"Test\";
SmtpClient SMTPServer = new SmtpClient(\"127.0.0.1\");
MailMessage mailObj = new MailMessage(urEmail,
On the MailMessage set the property IsBodyHtml to true.
string to = "email@hotmail.co.uk";
string body = "Test";
SmtpClient SMTPServer = new SmtpClient("127.0.0.1");
MailMessage mailObj = new MailMessage(urEmail, to, subject, body);
mailObj.IsBodyHtml = true; // This line
SMTPServer.Send(mailObj);