Hi,
This might sound strange, but I need to find a way to exclude certain users from any and all (!) system-generated emails being sent.
Maybe it's simple, but for now I'm struggling... so, thanks for some help, or at least pointers in the right direction.
So, I'm thinking to have a single checkbox CB profile field, like cb_no_emails.
I looked at Auto Action to see if I could prevent emails being sent if a condition is "[cb_no_emails] equal to 1".
For triggers the following read suitable:
- onBeforeEmailUser
- onBeforeSendEmailMSG
- onBeforeSendEmail
- onCPayBeforeMailerEmailMessageSent
If Auto Action is the way to go, then I'll probably need to use type Query to update/set some field(s) somewhere...
Leads to these questions:
1.) Is this generally possible with Auto Action and updating certain DB fields, or would it require hacking PHP?
2.) If AA, which triggers to use, and which tables/fields to aim at with the query?
Many thanks in advance for the briefest reply!
P.S.:
Thinking about it, it could maybe be a future option in CB Privacy to let users decide if they want to continue getting mails or not. There are quite a few people out there who want to be part of something (like a community) but not be bothered by more or less frequent emails.
Take it as a feature request?