06Games / Webtrees-MailSystem

Webtrees module for sending newsletters at regular intervals
GNU General Public License v3.0
6 stars 5 forks source link

No function #1

Closed hartenthaler closed 2 years ago

hartenthaler commented 2 years ago

I tried to use in the browser ahnen.hartenthaler.eu/mail-sys/send, but then I got a JSON response with

{
    "users": []
}

How can the user / the users be specified?

06Games commented 2 years ago

Hi Indeed, I forgot to specify in the README that a user list must be passed in the URL (until I find the time to make a configuration page) You can do something like that: https://ahnen.hartenthaler.eu/mail-sys/send?users=USER1,USER2,...

Also, I noticed that I forgot to create a new release after my Webtrees 2.1 compatibility commit. Sorry for the inconvenience.

Edit: I've updated the README to add a bit more details

hartenthaler commented 2 years ago

Thank you! Now it is running.