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

Cache emails and periodically try to re-send them if the operation fails #107

Open
alecello opened this issue Oct 12, 2023 · 0 comments
Open

Comments

@alecello
Copy link
Member

This may be a bit of a big one, but missed emails are kinda bad.

It would be nice if the server were able to cache the contents of the emails it sends (at least the ones sent to applicants) somewhere on the local filesystem (or at least in memory) and try to re-send them periodically if the SMTP server could not be contacted for some reason. This could work by implementing a queue in the database and implementing mail sending with a worker of some kind that consumes said queue. Since the email is a template anyways, the cache can be just the few parameters that are needed to fill it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant