I am trying to send a html page as mail using javamail.
my html page contains a link
<a href>click here</a>
when i am sending the mail the link is showing as a plain text.what should i do? here is the code i used
MimeMessage message = new MimeMessage(mailSession);
message.setSubject("modified html page","text/html");
message.setHeader("Content-Type", "text/html; charset=UTF-8");
message.setText(html, "utf-8");
message.setContent(html, "text/html; charset=utf-8");
please give me a suggestion.