发送电​​子邮件当比赛中火力地堡数据库 [英] Send Email When Match in Firebase Database

查看:141
本文介绍了发送电​​子邮件当比赛中火力地堡数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图建立使用发送一封电子邮件,以匹配特定参数两个用户AngularJS和火力地堡一个Web应用程序。用户先提交自己的信息,如果有与另一个人数据库中的一场比赛,我想发送电子邮件到这两个人。例如,如果两个人,A和B都有25岁,我想送A和B一封电子邮件,其中的某些信息。这可能使用火力地堡?

I'm trying to build a web app using AngularJS and Firebase that sends an email to two users that match on certain parameters. The users submit their information first and if there is a match with another person in the database, I want to send an email to both those people. For example, if two people, A and B both have the age of 25, I would like to send A and B an email with certain information. Is this possible using Firebase?

推荐答案

您可以通过使用服务如 Zapier 实现它。

You could achieve it by using a service like Zapier.

您可以创建一个ZAP连接火力点和像狒狒的电子邮件服务。

You could create a zap linking FireBase and an e-mail service like Mandrill.

A Zap combines triggers and actions — whenever the trigger event occurs, Zapier automatically completes the action for you!

当存在匹配,更新在火力数据库的特殊键。

When there is a match, update a special key in your FireBase database.

由于Zapier监听特定关键更新,它将被通过山魈发送您的电子邮件作出反应。

As Zapier is listening to updates of that particular key, it will react by sending your e-mails via Mandrill.

您的服务器可以很容易地检查火力地堡的值,并相应地发送电子邮件。那么这将是一个

Your server can easily check the values in FireBase and send e-mails accordingly. That would then be a

是的,当然:)

这篇关于发送电​​子邮件当比赛中火力地堡数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆