• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Emailing to a list of user ids

Beanjam

Active member
#1
I have a list of user ids & usernames I would like to email to but can't figure how using the ACP.

They don't have any criteria in common that the Email Users search form can isolate them with.

I thought about maybe creating a new usergroup and adding them to the xf_user_group_relation table with an SQL query, or does anybody know of an easier way?

I guess the other option is to extract the email addresses and contact them directly, but I'd prefer to do via XF if possible.
 

Mike

XenForo developer
Staff member
#2
I thought about maybe creating a new usergroup and adding them to the xf_user_group_relation table with an SQL query, or does anybody know of an easier way?
The first part of this is a valid approach, but the suggested method of this is not.

Groups can only be managed via the control panel or a custom script using our APIs to do it. They should absolutely not be manipulated via the database directly.