Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29748

Disabling links on Email Forward

$
0
0

I am sending emails to users which includes a one-time authentication link. I am trying to develop a feature through which if a user forwards the email to some other user, the links should get disabled.

One way is to hide the link by using a style tag which is covered here:

<style type="text/css">

blockquote .original-only, .WordSection1 .original-only {

display: none !important;

}

</style>

<p class="original-only">

Content to be hidden <a href="">Unsubscribe.</a>

</p>

Is there a better/standard way to achieve the same? I would prefer to keep the link visible but clicking on the link will take the user to my web where I can check URL params to validate if the email is original or forwarded.


Viewing all articles
Browse latest Browse all 29748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>