【问题标题】:Want to send custom emails i.e. Welcome mail from firebase using Swift 3.0想要使用 Swift 3.0 发送自定义电子邮件,即来自 firebase 的欢迎邮件
【发布时间】:2017-05-25 13:19:46
【问题描述】:

我在我的一个项目中使用 Firebase 作为我的后端。每当将收件人添加到组中时,我都想向他发送一封电子邮件。下面是我的数据库的结构。

Main Group
-----Root
       -----Users
               ---- Friend-1
               ---- Friend-2
        .
        .
        and so on

我想要的是在用户组中添加新朋友时触发一封电子邮件。我搜索并发现了 Firebase 支持的 3 种类型的电子邮件,但这仅适用于在控制台上的身份验证选项卡中看到的主要用户。

【问题讨论】:

    标签: ios email firebase swift3 firebase-realtime-database


    【解决方案1】:

    您可以直接从手机发送电子邮件,如下所述:How can I send mail from an iPhone application

    或者,您可以使用 Cloud Functions for Firebase 从 Firebase 服务器发送电子邮件。您的用例最接近用例列表中的Send confirmation emails to users subscribing/unsubscribing to a newsletter. 示例。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-08-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-12-02
      • 1970-01-01
      • 2021-01-05
      相关资源
      最近更新 更多