-1

In firebase rule how to get an email notification to my own email when user submit dataFirebase rules. From firebase rules side.. mail notification sent coding not done in the app

josh
  • 1
  • 3

1 Answers1

0

There is no way to trigger sending an email from Firebase security rules.

If you want to send an email when data is entered into the database, consider using a solution like Cloud Functions that can be triggered on such a database write operation. A similar (not same) scenario is shown in the example on notifying the user when something interesting happens.

Also see:

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
  • Use all steps change app password but no mail received. – josh Feb 05 '23 at 23:53
  • I answered your question on whether you can send an email from security rules, and explained how you **can** implement that use-case instead. If you're having trouble making that work, I recommend posting a new question with its own [minimal repro](http://stackoverflow.com/help/mcve) (read the link please, it's quite useful). – Frank van Puffelen Feb 06 '23 at 01:24