I have a site that sends links to users. When they click the link they are forwarded another email which is a simple thing to execute. I now have a problem that when I send those links to users, Microsoft's safelink feature will hit that link multiple times and the user will receive the same email multiple times. Is there a work around so that the email is only sent out once without removing the safelink? I'm using ASP.NET MVC
Frame challenge: Don't make a link (
HTTP GET
) cause an action (such as sending a mail).Let me quote Oded from a related question on Software Engineering SE:
Make the link show a page. On this page, but a button (
HTTP POST
) which causes the desired action (such as sending an e-mail) to occur.