0

I have created a simple Contact Form in my Angular5 app. The content is stored in Firestore. Fine.

But now I want to add a new feature : when the user submit the Contact Form, I'd like to receive an email with the form content. The content is basic (only text).

I try some cases with Sendgrid, Firebase functions,... Without success.

Sending automated emails from Firebase through Google Cloud Platform (no third parties) sends an automatic email (stored in index.js) for new firebase authentication.

But in my case, I want to trigger the mail (index.js) from an angular component (the Contact Form).

Michel_
  • 117
  • 3
  • 11
  • 2
    Possible duplicate of [Sending automated emails from Firebase through Google Cloud Platform (no third parties)](https://stackoverflow.com/questions/42616809/sending-automated-emails-from-firebase-through-google-cloud-platform-no-third-p) –  Apr 10 '18 at 12:22
  • You can't send an email from a web client, it needs to come from a server of some kind. Choose a service or write a backend service of your own and use it – bryan60 Apr 10 '18 at 16:03

0 Answers0