You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.
Goal: send only one mail with specific content for every user depending on their group.
To achieve this you have to use the condition-tags in combination with SQL-recipient-lists.
Example SQL-recipient:
SELECT email,
FIND_IN_SET(1 ,fe_users.usergroup) as group_one,
FIND_IN_SET(2 ,fe_users.usergroup) as group_two
FROM fe_users
WHERE deleted =0AND disable =0AND tx_newsletter_bounce <10;
Example newsletter-content:
Content for everyone
###:IF: group_one ###
Content for group one
###:ELSE:###
Content not for group one
###:ENDIF:###
###:IF: group_two ###
Content for group two
###:ENDIF:###