by using above code i send the mail, body with normal text. now i want to send the mail with html content as body any suggestions appriciate.
public void sendMail() {
SimpleMailMessage message = new SimpleMailMessage();
message.setFrom("xxxxxxxxxxxx@gmail.com");
message.setTo("xxxxxxx.yyyyyy@gmail.com");
message.setSubject("Hi");
message.setText("Welcome to FoodeeBuddee");
javaMailSender.send(message)
}