Question: generating email lists. mailing all users
0
gravatar for minabashir
4.0 years ago by
minabashir0
Austria
minabashir0 wrote:

Hello everybody,

I installed galaxy on a local server, and I wanted to email all registered users. Is there a way, except typing them individually? I can only reset passwords. 

thx in advance,

Mina

galaxy email list • 779 views
ADD COMMENTlink modified 4.0 years ago by Lance Parsons110 • written 4.0 years ago by minabashir0
2
gravatar for Lance Parsons
4.0 years ago by
Lance Parsons110
United States
Lance Parsons110 wrote:

I've used the following sql query:

select email from galaxy_user where deleted = 'f';

An example of a bash script I use to parse out some unwanted addresses and output everything to a simple list:

#!/usr/bin/env bash
psql -U galaxy -c "select email from galaxy_user where deleted = 'f';" -t | grep -v "igv_display\|ucsc_browser_display@example.org\|remote_display_server@princeton.edu"
ADD COMMENTlink modified 4.0 years ago • written 4.0 years ago by Lance Parsons110
1
gravatar for Dannon Baker
4.0 years ago by
Dannon Baker3.7k
United States
Dannon Baker3.7k wrote:

You could use the users API (as a galaxy admin user, you'll see all users at http://<your_galaxy_server>/api/users ) to fetch this in a programmatic way, but there isn't an easily accessible 'all the users' list built into the interface.  Let me know if you need more details to use the API.

ADD COMMENTlink written 4.0 years ago by Dannon Baker3.7k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 180 users visited in the last hour