简体   繁体   English

如果用户从我的iOS应用中“标记”某些资料,我可以从parse.com收到某种通知吗?

[英]Can I get some sort of notification from parse.com if a user “flags” certain material from my iOS app?

I am using parse.com to store my backend. 我正在使用parse.com来存储我的后端。 My data is crowd sourced. 我的数据来自人群。 So there is a chance that some material will be vulgar/spam. 因此,某些材料很可能是低俗/垃圾邮件。 I want to allow the user to flag certain objects that I store in Parse so I/others can take a look at it. 我想允许用户标记我存储在Parse中的某些对象,以便我/其他人可以查看它。 My idea right now is to have the user tap a button on the object in question and have that send me an email. 我现在的想法是让用户点击有问题的对象上的按钮,然后向我发送电子邮件。 I don't believe I can have that send me an email with some reference to that object. 我不相信我能给我发送有关该对象的电子邮件。 I know I can have the email UI pop up and they can send it that way, and that will be my last resort. 我知道我可以弹出电子邮件用户界面,他们可以那样发送,这是我的最后选择。 But is there a way I can utilize parse and just have that button tap send some data to my parse backend, then have that send me an email with that object id in the email? 但是,有没有一种方法可以利用我的解析功能,只需轻按一下按钮即可向我的解析后端发送一些数据,然后再向我发送一封包含对象ID的电子邮件?

Thanks 谢谢

Look at Parse's Cloud Module Guide. 查看Parse的Cloud Module Guide。 It has instructions on how you can use SendGrid, Mailgun, or Mandrill from cloud code to send an email whenever a new object is saved. 它包含有关如何在保存新对象时如何使用云代码中的SendGrid,Mailgun或Mandrill发送电子邮件的说明。 You can use this to send yourself an email when a user creates a new "Flag". 用户创建新的“标记”时,可以使用它向自己发送电子邮件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM