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

Adding enpoint to send email to all (or only validated) participants of an event #7

Open
Hartorn opened this issue Nov 26, 2017 · 5 comments

Comments

@Hartorn
Copy link
Collaborator

Hartorn commented Nov 26, 2017

Could be great to have an endpoint taking an event id, a body containing the content of an email, and to send it to all participants.

Would be customisable on the front, so discord server, and so on could be added.

@EmrysMyrddin
Copy link

Can you add more details about what you are actually expecting ?
I can work on this. Do you already have an idea of the way you want to send mails ? A private SMTP server or a solution like MailJet could be good ?

@AlexMog
Copy link
Member

AlexMog commented Nov 27, 2017

@EmrysMyrddin A service already exists in the API to send emails, it just need some configs in the configs.properties file ;)
There's an example of mail sending with it: https://github.com/AlexMog/FFS-Api/blob/master/src/main/java/tv/zerator/ffs/api/v1/resources/LoginResource.java#L165

@EmrysMyrddin
Copy link

@AlexMog Great ! thanks for pointing this out :-)

I will make a first simple endpoint allowing to send an emal to all participant.
When you will be happy with that, I will work on some templating with variables.

@AlexMog
Copy link
Member

AlexMog commented Nov 27, 2017

It could be a good idea to add a filter system. For example add "status" to the query to send the email only to the users with this status, and if no status is set, send to all

@EmrysMyrddin
Copy link

Ok, I will do this.
I imagine that this endpoint have to be accessible only by Admins and SuperAdmins ?

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

3 participants