简体   繁体   English

与Firebase和Node JS陷入困境?

[英]Angular with Firebase and Node JS?

I am currently using Angular with Firebase for authentication and storing some datas. 我目前正在将Angular与Firebase一起用于身份验证和存储一些数据。 I want to send email to the user using Angular. 我想使用Angular向用户发送电子邮件。 I found a way to send emails but using nodejs. 我找到了一种使用nodejs发送电子邮件的方法。 Is it possible to still use nodejs for sending emails only and still use my firebase database? 是否仍然可以使用nodejs仅发送电子邮件并仍然使用我的firebase数据库?

It's possible to do whatever you like. 您可以做任何您想做的事。 However, you would have to create an API or a Webhook with Node.js just to do it. 但是,您仅需使用Node.js创建API或Webhook。

I would recommend you to use SendGrid or Sendwithus as they already have their API's. 我建议您使用SendGrid或Sendwithus,因为它们已经具有其API。

In this thread you can find a way to do it: Sending Email with Node Mailer and Sendgrid in Angular MEAN stack using angular-fullstack from Yeoman . 在该线程中,您可以找到一种方法: 使用Yeoman的angular-fullstack在Angular MEAN堆栈中使用Node Mailer和Sendgrid发送电子邮件

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

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