简体   繁体   English

通过Firebase WebApp发送电子邮件

[英]Sending an Email through Firebase WebApp

my project idea is a school attendance system, and I want to send an email to all students in a specific class. 我的项目构想是学校出勤系统,我想向特定班级的所有学生发送电子邮件。

my question is there a way to send an email using the (noReply@firebase.com) email that is dedicated for every firebase project or do I have to use a thirdparty like Gmail of Outlook or is there some other way? 我的问题是有一种方法可以使用专用于每个Firebase项目的(noReply@firebase.com)电子邮件发送电子邮件,还是我必须使用Outlook的Gmail等第三方,还是有其他方法?

我认为您必须使用第三方API进行邮件发送,因为它认为'noReply@firebase.com'不允许我们广播电子邮件。

You should add information on how you want to send those emails. 您应该添加有关如何发送这些电子邮件的信息。 Is it in a firebase webapp, nodejs, java... 是否在Firebase Webapp,nodejs,java中...

The short answer is you should read on the SMTP protocol which is the protocol in which emails are sent on the web. 简短的答案是,您应该阅读SMTP协议,这是在网络上发送电子邮件的协议。

https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol

You can actually send an emails with anyones domain, but gmail and outlook will verify if the sources are trustworthy. 实际上,您可以使用任何人的域发送电子邮件,但是gmail和Outlook将验证来源是否可信。

Here is an example in Java on sending emails with SMTP with any domain name. 这是Java中使用任何域名发送带有SMTP的电子邮件的示例。

https://www.journaldev.com/2532/javamail-example-send-mail-in-java-smtp https://www.journaldev.com/2532/javamail-example-send-mail-in-java-smtp

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

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