firestore-send-email : template not updated
See original GitHub issue[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs for a specific extension in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:
- For general technical questions, post a question on StackOverflow with the firebase tag.
- For general Firebase discussion, use the firebase-talk google group.
- To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to Firebase support directly.
[REQUIRED] Step 2: Describe your configuration
- Extension name:
firestore-send-email
- Configuration values (redact info where appropriate):
- all config require (extension is working, except that if I modify a template, modifications are not applied)
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
In firestore-send-email, if I modify a template, these modifications are not applied. The html code is good, there is all my modifications, but the function still send the old template version.
Expected result
The updated template.
Actual result
Mail send with the old template
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Use Handlebars templates with the Trigger Email extension
Send emails using templates. To deliver email using templates, when adding documents to your mail collection, include a template field with name and ......
Read more >Update email with a custom email template in Firebase
I have decided to use email template for verifying user email. In the backend, I call generateEmailVerificationLink(email ,actionCode) to create ...
Read more >Sending emails using Firestore and Firebase Extensions
This extension allows data to be added to the template object so we can customize it and make each email unique. Update your...
Read more >Emailing with Firebase: The Trigger Email Extension - Ayrshare
Into the Firestore welcome document, create a new String field called html and set the value as the content of your Handlebars template....
Read more >Firebase Extension — Trigger Email | by Myrick Chow - Medium
It is a packaged and ready-to-use solution. It is mostly driven by a Cloud Function that observes a collection in your Cloud Firestore...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Templates should be updated in realtime (see templates.ts in the source). The
onSnapshot
should be callingupdateTemplates
whenever one changes.If not, that’s a bug…
Ok let’s go ahead and close this one. Logically the code is working fine, however we’ll keep an eye on it. Thanks!