run server actions directly from email

run server actions directly from email

  

We have a need for people to receive an email and then for example lets say that this is a survey email be able to click a yes or no button in the email.  Then on the server their response is recorded.  

The way I was thinking to do this is that each button in each individual email is a link to a page with a randomly generated sequence of letters/numbers in the link.  When they click the link in the email it opens that page, the prep for the page searches the database for the associated letters/numbers and then records their response.  After that do something like window.close() to automatically close the page.

Is there a different or better way to do this via the OS platform?

Solution

HI Jason,

I think your idea is correct because anyways it is going to be link of any page where you will write your code. Also instead of closing the page you can show a some contents like a thank you message and let the user close it.



Regards

-PJ-

Solution

The page should have "Anonymous Access ".


Regards

-PJ-

Jason -


That is the correct approach. I usually use GUIDs for that purpose since there is an action to generate them in System. :)


J.J