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

User invite emails not sending #18

Open
1 task
bkiahstroud opened this issue Oct 20, 2023 · 3 comments
Open
1 task

User invite emails not sending #18

bkiahstroud opened this issue Oct 20, 2023 · 3 comments
Assignees
Labels
bug something isn't working

Comments

@bkiahstroud
Copy link
Contributor

bkiahstroud commented Oct 20, 2023

Story

Users are not receiving invitation emails when invited via Dashboard > Manage Users > Add or Invite user via email form.

This task was broken off from #17

Acceptance Criteria

  • Users can receive and accept email invitations
@bkiahstroud bkiahstroud added the bug something isn't working label Oct 20, 2023
@bkiahstroud
Copy link
Contributor Author

@ShanaLMoore recently fixed emails not sending in PALs. The same issue may be what's causing this ticket. Here's what Shana said about the PALs fix:

i can tell you the solution working a few day ago. the contact_email must be on the "allow list"
if users are setting that to whatever email they want, it will not get sent.
we've contributed a fix back to hyku that should help users understand that a bit better

Related PR:

@bkiahstroud
Copy link
Contributor Author

@bkiahstroud bkiahstroud self-assigned this Oct 27, 2023
@ShanaLMoore
Copy link
Contributor

ShanaLMoore commented Oct 27, 2023

Initially the problem was the tenant/account's contact_email wasn't part of Amazon's ses allow list.

But in the latest issue, emails weren't getting sent because of a change in the workflow/GitHub deploy action versions we were using (0.0.14).

For pals Rob upgraded us to 0.0.15, but April has since updated the previous version to include the SMTP credentials so any existing app using 0.0.14 should be ok now. 🙏🏿

Rob noticed that the SMTP_PASSWORD was empty on the production server, which prompted his fix.

Also helpful to reference is this playbook article, which helps determine if there's an error when sending emails, from the rails console.

I Hope that helps! Let me know if you'd like to pair.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants