Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Send e-mail to group users

UserPost

8:30 am
February 28, 2009


Ragnar

Member

Ragnar

posts 108

1

Hi Kevin!

Feature Request: I want to be able to send a  e-mail to the group users.

2:57 pm
March 2, 2009


Kevin

Admin

posts 2502

2

Your code (or other plugin code) can use the following Role Scoper function to output the users list for any group_id you specify:

$users = ScoperAdminLib::get_group_members( $group_id );

// call your e-mail send function (or by build your send list) inside this loop
foreach ($users as $user )
  echo ( " $user->display_name : $user->user_email " );

I'm not prepared to give Role Scoper the responsibility of sending e-mails.


About the Agapetry forum

Currently Online:

13 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1244

Posts: 5649

Members:

There are 1254 members

There are 1 guests


Kevin has made 2502 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin