Request for role authenticated users, all

vitovonantwon - October 2, 2008 - 20:11
Project:Action email role
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:bec
Status:active
Description

Hi,

Installed your module, and only roles which I defined like super user were considered.
I was hoping that authenticated users would be a role I could use also.

Thanks.

Antonio

#1

bec - October 7, 2008 - 03:54
Assigned to:Anonymous» bec

I'll look in to doing this. You should be aware, though, that action_email_role's approach doesn't take scalability into consideration--if a role you intend to email has more than 20 or 30 users, I would consider a more sophisticated solution :)

#2

vitovonantwon - October 9, 2008 - 17:13

Hello,

Thanks for the info. Is this because of limitations with the cron job. This is curious, if you have a moment, can you explain why it's not scalable. Is it because it would be to much stress on the server that drupal is on to be effcient? I have no idea, really.

Thanks.

ANtonio

#3

v1nce - October 9, 2008 - 19:30

We could look into incorporating this with the Job Queue module for scalability.

#4

vitovonantwon - October 11, 2008 - 00:05

Ah, I see it' s about the php timing out. Got it.
I'll test it if you need someone to test it.

Antonio

#5

bec - October 11, 2008 - 05:38

@vitovonantwon -- yeah, action_email_role just goes ahead and tries to send an email to everyone in the selected role, right away. Properly, it should queue up the emails and make sure they get sent in manageable chunks--exactly what Job Queue is made to handle. Thanks for pointing that out, v1nce, I think that using Job Queue (if it's available, and if not, suggesting it) would make a lot of sense.

I probably won't get around to making either of these changes for a while yet.

#6

ethernectar - March 18, 2009 - 01:38

Wow, I think this addresses my issue. Unfortunately I see that this thread is months old. We're trying to use this to email all users (300+) and having no consistent luck at all. Has there been any progress made on this?

#7

bec - April 10, 2009 - 04:43

@ethernectar - this is still on my vague spare time to-do list, but I haven't addressed it yet. I'm sort of keeping an eye on this thread...

 
 

Drupal is a registered trademark of Dries Buytaert.