Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Update email sending to be out of cycle from API response generation. #149

@zorn

Description

@zorn

For example, currently in StudyHall.Accounts.Senders.SendResetPasswordEmail we directly call Mailer.deliver/1 but we don't really do anything with a bad response.

Instead, we might consider installing Oban and then scheduling the email for delivery, allowing for retries and better observation of issues, and better chances at recovery of issues.

Related reading:

https://blog.kurtov.pro/how-to-structure-email-logic-in-a-phoenix-codebase/

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendThe place where business logic and the api liveenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions