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

Send a reminder email to users whose subscriptions are about to lapse. #65

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

creature
Copy link

This fixes issue #60 on the Hackspace repository. It sends users whose subscriptions are about to lapse a gentle(ish) reminder, before they get unsubscribed a few days later.

I've tested this code a little, and it's very closely based on the existing code to unsubscribe users, but I don't have access to live or test data. I'd recommend more testing before putting it into production.

It also refactors the email-sending code for reusability, and includes a database schema change so we only send people a maximum of one reminder email per month. This means we can run the task regularly from a cron job without worries of spamming people over and over again.

This fixes issue londonhackspace#60 on the Hackspace repository:
londonhackspace#60

It also refactors the email-sending code for reusability, and includes a
database schema change so we only send people a maximum of one reminder
email per month.
@marksteward
Copy link
Member

I'm going to combine this with #138 next week.

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

Successfully merging this pull request may close these issues.

4 participants