SyntaxFix
Write A Post
Hire A Developer
Questions
Set content type. Look at this method.
message.setContent("<h1>Hello</h1>", "text/html");