开发者

Is it possible in Google App Engine to update a datastore field according to the content of an email?

开发者 https://www.devze.com 2023-03-17 06:08 出处:网络
For example, I have an object with a BooleanProperty() type, and my emai开发者_JAVA百科l contains two buttons YES and NO.

For example, I have an object with a BooleanProperty() type, and my emai开发者_JAVA百科l contains two buttons YES and NO.

Is it possible to change the value of the property in my datastore, when the user click on one of the buttons in the email and send it back to my app?

Thank you.


This is what I do.

In my out going email I have two hyperlinks Yes and NO, which point to a servlet file like Yes

When the user clicks on the Yes link my servlet will read the userResponse and do the database store or update and then send to a confirm page via sendRedirect();

0

精彩评论

暂无评论...
验证码 换一张
取 消