i nearly spent a day on it but couldn't fix it,
i am sending HTML within email body (asp.net 3.5) but problem is that it neither it takes div within body nor any inline style ,
message.Body = "<html>"+
"<body>"+
"<div style=\"background-color:yellow;\">" +
"<h3>"+
" Congrats" + " " + userName + " " + " You have been shortlisted for interview. Please appear on " + " " + date +", "+time+" "+ "for interview"+
"</h3>"+
"</div>"+
"</body>"+
"</html>";
the tags for bold works well, / , but it doesn't take any style or even div tag within body, why ?