I need to add some HTML contents into mail body. this is what i have tried so far.
message.setContent(
"<h1>You Have a Promotion</h1>",
"text/html");
message.setContent(
"<h3>Your First Name :</h3>" + FirstNm,
"text/html");
message.setContent(
"<h3>Your Last Name :</h3>" + LastNm,
"text/html");
message.setContent(
"<h5>Your Employee ID :</h5>" + Employeeid,
"text/html");
If i get the Out put only the last field display in the body of mail which is Employee ID. i want to display all three fields in the Body of the mail. Thank you.