Send to all, send to multiple users, send to groups, send to all in a role

jeffleeismyhero - September 29, 2006 - 15:19
Project:Privatemsg
Version:4.7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:jeffleeismyhero
Status:needs review
Description

I would like a "Send to all" button to allow administrators to send a message to everyone at once.

#1

budda - October 12, 2006 - 16:35
Title:Send to all» Send to all, send to multiple users, send to groups, send to all in a role

I too would like this, and the ability to send to just multiple users, and send to everybody in a certain role too.

I would be interested in sponsoring this development if it would speed it up?

#2

jeffleeismyhero - October 22, 2006 - 03:12

I have been working on the send to all functionality and although that part works I am not ready to contribute it. I would like to get the code cleaned up and add the ability to send to groups, roles, and multiple users (comma separated).

It should not be too difficult to send to roles but what are the groups you are talking about? I am quite new to Drupal and haven't explored all of the modules etc.

#3

jeffleeismyhero - October 22, 2006 - 03:13
Assigned to:Anonymous» jeffleeismyhero

I am assigning this to myself.

#4

budda - October 30, 2006 - 16:08

Groups as in organic groups - so you can PM them all at once.

#5

Popboard - November 5, 2006 - 03:31

It's pretty simple. I've been able to change the 'Contacts' drop down to work directly with the buddylist module. I'm guessing the code would be in that function.

#6

kevinwalsh - November 27, 2006 - 21:03

this interests me too so i'm subscribing

#7

mliga - December 20, 2006 - 18:46

I needed this quickly so I implemented it in a rough but very funcional way; now in my modified version you can specify multiple users ; separated (you can pick them adding them to the To field; I've also added a second combo with special commands (Clear to clear quickly the To field and All to send the message to All the user with PM enabled.
I also change the Aggressive notification behaviour, in a way it sends immediatly a mail notifying users about new PM messages.
What I came with is a PM for small sites, useful when you have a team or group site with < 50 users (less they are better it works).

Now, which step should I take? Should I post my patch in this module, complicating module mission, or should I contribute it as a completely different module?

#8

UnderDesign - January 9, 2007 - 01:18

mliga,

Personally, I don't know whether a patch or a new module would be best, but I do know that I would love to get my hands on it!

Is there any chance you could post your module here?

#9

NathanRAFT - January 30, 2007 - 00:50

Great Ideas!!

Can you post your module here?

I am very interested in the ability for people to PM multiple users.

#11

robotjox - March 27, 2007 - 16:55

Hi, did anyone ever work this out?

thanks!

#12

NathanRAFT - March 30, 2007 - 05:38

This would be really great to have.

If a site is going to have private messages then people should be getting messages there and not a bunch of emails.

#13

csc4 - April 2, 2007 - 12:31

Subscribing - anyone know when a patch or release of this will be available?

#14

rbburton - April 2, 2007 - 13:23

Subscribing -- we had a request for this just ten minutes ago, so I was wondering about the status as well.

Thanks.

#15

mliga - May 19, 2007 - 10:51

Sorry, been away for a while.

Here's my code, nothig special to say about it but it's working on a production site (restricted registration, less than 50 users).

I hope it can help and someone can take it and integrate with the PM module.

AttachmentSize
privatemsg.module_0.txt 32.46 KB

#16

mliga - May 19, 2007 - 10:52

... and here is my modified privatemsg.js

AttachmentSize
privatemsg.js_.txt 1.05 KB

#17

sofcare - July 31, 2007 - 16:37

Does anyone know of a release date for this feature (for the current version)?

#18

gurukripa - September 13, 2007 - 18:27

Can we have this for Drupal 5.1 too :)

#19

ADLongwell - September 20, 2007 - 22:10

Just found this issue.. I customized privatemsg.module to support multiple recipients in the To: field. I've attached the patch here.

AttachmentSize
multiple_recipients.patch 3.03 KB

#20

cush - October 3, 2007 - 15:58

I'd love to see this in main Drupal, too! Mainly the possiblity to send out mails to all users of a given role would be very useful. Sometimes it is very hard to find all members without having a simple only-click option to reach them.

This is another point where Drupal could improve member management in the default installation. I'm really looking forward to the new versions.

#21

pwc - October 17, 2007 - 13:47

Uhm, that ADLongwell's patch doesn't work with version 5 - patch won't succeed (Hunk #1 FAILED...). I'm newbie with Drupal, is there any way I could have this feature?

#22

hugafish - November 7, 2007 - 16:39

Hi everyone, I'm not a programmer, but it seems to me to make more since to tie this into an existing module as an upgrade. The module I refer to is the Profile module, which in my opinion should really be part of the core suite actually. This would allow each user to have the option of having his Private Messaging sent to his email or not. Or another good choice for the Private Messaging system would be to have it integrated into the Forum module. Forums typically have a Private Messaging feature most of the time. I apologize in advance if this is already included into these modules and I am just not aware of it. Patches for customization without going through a core approval process scares the crud out of me, sounds way to alpha for me. I would hate to see my live site compromised with alpha code. Also I could have swore I seen a module that already exists for this feature, maybe I'm wrong or it was somewhere else. I'll go take a closer look into the existing module base to see.

#23

kriskd - December 5, 2007 - 23:54

I also tried to apply ADLongwell's patch on a test site and all three hunks failed. I hope the option of sending to multiple recipients can be implemented soon!

#25

php-workx - February 21, 2008 - 12:30

you should try the attached patch. this one works with latest official release version of this module ...

AttachmentSize
privatemsg.module-multi_to.patch 2.85 KB

#26

Fayna - May 12, 2008 - 18:28

Do all of these patches carry the same functionality (i.e., send to multiple users, all users, all users in a certain role, all users in a group, etc.)?

Why not combine efforts?

#27

Fayna - May 12, 2008 - 18:27
Status:active» needs review

Maybe this will make it easier for the new maintainer to find this issue with patches in it.

#28

litwol - May 12, 2008 - 20:12

Please use this partch if it works for you. *notice* i have not tested it.

Right now i am working on redesigning the architecture being privatemsg module which will allow this functionality to be integrated in a much easier and more efficient way.

in the mean while use what ever works for you (refering to the patch above IF it works).

#29

mirian - September 18, 2008 - 07:04

Hello all,

I tested the suggested patches and its seemed to work well!

One question:

I see that the email is sent to multiple as separate emails (i.e. - in the sent emails box- we can see the email as separate emails- each one to another user.) this is due to the implementation of " _privatemsg_send" function and the structure of the table which hold each recipient in another row in the table.

I want to present the multiple-recipients-email as one email.
any way to do it?

thanks,
Miriam

#30

litwol - September 18, 2008 - 23:13

See this module: http://drupal.org/project/privatemsgmm

i recently added means to send messages to ALL users. however i am testing it in my work environment and will soon be contributing the code back.

#31

mirian - September 24, 2008 - 10:11

Thanks, I found this module.
but, also in this module when you send email to more than one person, it's saved in separate rows in table,
and as a result, every copy to one of the recipients, is presented as seperate email in the "sent mail" folder.
I think that if you want the email to work like a real mail box we need to fix it and it means a change in the "privatemsg" table. we can add a column which will hold the the same identifier to multiple copies for multiple users if the same email.

What do you think?

Miriam

#33

kriskd - January 10, 2009 - 11:39

Just want to check if by chance this feature has been included in the release candidate for the D6 version of the module. This is pretty much the last module I need upgraded to upgrade my site to D6, but I also need the ability to send to multiple users. Is that available at this time?

#34

nbz - January 11, 2009 - 22:20

Ther eis no send to all functionality, but you can send messages to multiple recipients.

#35

spydmobile - February 4, 2009 - 21:24

this module claims to send to all in a role and points to this thread. So, how do we send to a role?

#36

Fayna - February 19, 2009 - 20:20

It's not available yet as far as I know... that's why it's listed under "Future Features."

 
 

Drupal is a registered trademark of Dries Buytaert.