Where is the "send email to users" button? (how to send an email to all users)

HI,

we are currently running the lastest GitLab version, but I cannot see a possibility to reach all current users. According to https://docs.gitlab.com/ee/tools/email.html there should be an appriate button somewhere but I cannot find it in our installation. Maybe it has gone?

If there is no such button: Is there a way to reach all current users of our installation by mail?

Cheers
frank

Hello, do you use the commercial EE version? The community edition doesn’t have this feature.

In fact I’m using the community edition, not the EE version. What a pity. But thanks for enlightening me :wink:

Is there not even some (out of the box) commandline/ruby command to extract a list of email addresses (and maybe also the usernames) in the Community Edition? (yes, strictly speaking this wouldn’t be the answer to the question but would be an solution of the underlying problem (how to get the list of user email addresses…) :slight_smile: )

Hello,

take a look at https://docs.gitlab.com/ce/api/members.html. If your member list is less than 100, curl is sufficient to get the user list. There is a ruby gem as well, which handles iterating if you have more than 100 members. Instead of the numeric id you may use the project path directly but you need to escape the slash, e.g. foo/bar is foo℅2Fbar.

HTH.

Unfortunately the API returns the result in a single long - basically unparseable - line. So that’s not usable for me.
Regarding the “ruby gem”: I don’t really know what a ruby gem is and how to install or use it. But we have worked around the issue by asking all users to register to a specific maillist.

Thanks anyway. For all rubyists your suggestion is probably the way to go…:slight_smile:

The line is JSON, which you can parse. See: http://stackoverflow.com/questions/3858671/unix-command-line-json-parser for some options.

Is this still limited? I’m on the enterprise edition and I don’t see this button…

@nfahrenkopf do you have a premium subscription? If not then you will not have this option.

The link shows premium self-managed installs have this option. Otherwise the only way around it is the api solution posted earlier. Alternatively create a group or distribution list on your mail server and add all your gitlab users to it and mail them all that way.

I should have the educational license which I think is ultimate but I’m realizing I never installed the trial key… and never finished the paperwork for the full license… I’ll give that another go, thanks!