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 105

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 2402

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:

11 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1186

Posts: 5409

Members:

There are 1176 members

There are 1 guests


Kevin has made 2402 posts

Top Posters:

metal450 - 159

Ragnar - 105

YikYak - 70

whiteorb - 44

Daisy - 35

Administrator: Kevin | Moderators: Kevin