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

Allow to specify a subset of firms per email #2

Open
stheid opened this issue Jun 14, 2019 · 0 comments
Open

Allow to specify a subset of firms per email #2

stheid opened this issue Jun 14, 2019 · 0 comments

Comments

@stheid
Copy link
Owner

stheid commented Jun 14, 2019

Currently the notifications of all firms are sent to all emails. it would make sense to be able to specify for each email, which firms it wants to be notified for.

This could be done eighter by building a real database with the tables users, firms and userToFirm or by simply maintaining the firms as a comma separated list, after each email.

adding the information to email.txt makes it easier to maintain, but harder to extend if the tool gets more features.

I think plaintext is king.

[email protected]  <firm1>,<firm2>
[email protected]       <firm4>

maybe allowing the definition of shorthands:

wo=Wochenmarkt
ed1=Edeka musterstraße
ed2=Edeka waldstraße
[email protected]   wo,ed1
[email protected]        ed2
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

No branches or pull requests

1 participant