Skip to content
Advertisement

How to send a button instead of a link in an HTML email?

My app sends an email from my java code. I also want to send a link within a button which will say “Activate your account”.

Here is what I have:

JavaScript

The following line

JavaScript

works as a link right now, I just want to put this link in a button and send that button to user’s email.

Is there any solution for this?

I am trying this:

JavaScript

Advertisement

Answer

Try with something like

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement