In my application i am sending email to the new user , I want to send a button as well in the email , on when user click .he will be redirected to my website..
I have this right now
message.setSubject("TIE Account Created");
message.setText("Dear " + user.getFirstName() +" "+ user.getLastName()+" "
+ "\n\n Your Account created,"
+ "\n\n Please activate your account"
+ " <a href=www.example.eu:8080/Project/#!"+ user.getToken()+" >"
+" <button>Activate your Account</button> </a>"
);
Transport.send(message);
Now what I am getting in email is the same code and no button, like this :
Dear user
Your Account created,
Please activate your account <a href=www.example.eu:8080/Project/#!d11qddnobot2665mjl20va87qh > <button>Activate your Account</button> </a>