Email Membership Group
Posted: 2019-04-04 19:54
Hello,
I am trying to figure out a couple of more things to customize my project. One of them is I would like to email a subset of a group based on their $memberInfo['custom'][1] which is 'Position' once a record is changed in the table that pertains to their 'Position' I have tried a few different permutations in the table hook in the after insert section and only have ended up with errors. I am assuming I would have to start with some sort of SQL query to get the group emails but am lost on how to get there. Any thoughts?
I am trying to figure out a couple of more things to customize my project. One of them is I would like to email a subset of a group based on their $memberInfo['custom'][1] which is 'Position' once a record is changed in the table that pertains to their 'Position' I have tried a few different permutations in the table hook in the after insert section and only have ended up with errors. I am assuming I would have to start with some sort of SQL query to get the group emails but am lost on how to get there. Any thoughts?