Page 1 of 1

Emailing Specific Roles

PostPosted: September 1st, 2010, 8:12 pm
by markelshark
Do you know of a way to email all members in specific role? So I could email just free subscribers, or just level2 subscribers with an offer to upgrade to level 3?

Thanks,

Mark

Re: Emailing Specific Roles

PostPosted: September 2nd, 2010, 2:41 pm
by Jason Caldwell
Hi Mark. Thanks for the excellent question.

Here are a few ideas.

Integrate AWeber or MailChimp into your s2Member installation.
see: s2Member -> API List Servers
There you can configure different lists at different Levels,
so that each Member would automatically go into a specific list during registration.
( maybe not quite what you need though )

Using s2Member Pro ( with Import/Export tools ), you can pull an export file of all Members, which could be filtered down with an application like Open Office or MS Excel. This way you pull out all Level #1 Members and import them into a mailing list service such as AWeber, MailChimp, etc.

Using a custom database query, something like this:
Code: Select all
foreach(get_users_of_blog() as $user){
    $user = new WP_User($user->ID);
    if($user->has_cap("s2member_level1")){
        // send them an email
    }
}
 

@TODO :: internal mailing for s2Member Pro.

Re: Emailing Specific Roles

PostPosted: September 8th, 2010, 1:28 pm
by schop
Sorry for breaking in this subject...

jason, does "@TODO :: internal mailing for s2Member Pro" mean that s2MemberPro does not have the internal e-mailing function yet?

If so, do you have any idea if this will be available soon, and if it will be possible to select certain members on criteria like the value of a certain custom field?

Re: Emailing Specific Roles

PostPosted: September 9th, 2010, 10:51 am
by Jason Caldwell
Hi there. Thanks for the great question.

You are correct. s2Member does NOT have this feature built-in yet. MailPress would perhaps be an alternative for now, or one of the solutions that I listed above.

Yes, this feature is coming soon, most likely after work is completed on the improvements to Custom Fields, which we are also VERY close to finishing. Perhaps somewhere around s2Member v3.2.8 ( middle of November - maybe sooner ).

and if it will be possible to select certain members on criteria like the value of a certain custom field
This was NOT on our TODO list, but I'm adding it now.
@TODO :: additional filtering to be added after Custom Field improvements and internal mailing lists.
Thanks for the great suggestion.

Re: Emailing Specific Roles

PostPosted: September 9th, 2010, 12:13 pm
by schop
Awesome Jason, keep up the good work!

Re: Emailing Specific Roles

PostPosted: September 10th, 2010, 1:36 am
by Jason Caldwell
Thanks! You're very welcome.

Re: Emailing Specific Roles

PostPosted: October 1st, 2010, 1:55 pm
by schop
Jason, is there any progress on the filtering function for mailing lists and the internal mailing functionality?(even simple integration with an existing WP newsletter plugin would be sufficient here, but I have no clue how easy or difficult that would be).