SPUser fielduser = itemuser.User;
toReceiver = fielduser.Email;
string date = Convert.ToDateTime(it["Next_Hearing_Date"]).ToString("dd/MMM/yyyy");
body = "<html><body> Hello " +
itemuser.User.Name + ", <br/><br/> Hearing For
:" + it["Title"]
+"is on"+ date + "<br/>" +
"LegalCase Details:" + it["Brief_facts_about"]
+ "<br/><br/>" + "Thanks <br/>"
+ "Note:" + "This is System Generated Mail Please donot Replay.</body></html>";
header = "Hearing For :" + it["Title"] + " is
On Next date Of Hearing: " + date;
//UserEmail is existing or not.
if (!string.IsNullOrEmpty(toReceiver))
issend = SPUtility.SendEmail(contentDb.Sites[0].RootWeb,
fAppendHtmlTag, fHtmlEncode, toReceiver, header, body);