Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[firestore-send-email] Email templates stopped working yesterday. #2101

Open
neilhosey opened this issue May 22, 2024 · 2 comments
Open

[firestore-send-email] Email templates stopped working yesterday. #2101

neilhosey opened this issue May 22, 2024 · 2 comments
Labels
extension: firestore-send-email Related to firestore-send-email extension needs: author feedback Pending additional information from the author type: bug Something isn't working

Comments

@neilhosey
Copy link

[READ] Step 1: Are you in the right place?

[REQUIRED] Step 2: Describe your configuration

  • Extension name: firestore-send-email
  • Extension version: 0.34
  • Configuration values:

image

[REQUIRED] Step 3: Describe the problem

Yesterday, template emails just stopped working, we have ruled out something in our template, we have also ruled out something with the version as we updated to latest version. We have tried both sendgrid and mailgun as SMTP servers, but both just timeout. It seems the template rendering is not working, heres the format of what our template looks like:
image

when we leave out a collection name for templates, it sends a blank email, but as mentioned, when we add in our template collection, it just times out on sending.

Steps to reproduce:

Use a template with latest version of firebase mailing extension.

Expected result

Email arrives with subject and body as per the email template.

Actual result

No email is sent, logs for the extension say it times out after 60 seconds when sending, the email status in the emails collection is still processing.

@neilhosey neilhosey added the type: bug Something isn't working label May 22, 2024
@pr-Mais pr-Mais added the extension: firestore-send-email Related to firestore-send-email extension label May 27, 2024
@pr-Mais
Copy link
Member

pr-Mais commented May 27, 2024

@neilhosey I'm investigating the issue, however one thing I noticed about your configuration is that the Templates collection param is missing, can you try setting it to the collection where your templates live, and try again?

@pr-Mais
Copy link
Member

pr-Mais commented May 27, 2024

I have just tried sending an email with an HTML template (using SendGrid), and it arrived with no issues, my guess here is that you're missing the templates collection name from your configuration.

@pr-Mais pr-Mais added the needs: author feedback Pending additional information from the author label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension: firestore-send-email Related to firestore-send-email extension needs: author feedback Pending additional information from the author type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants