Hi, i need match the “disabled user” state coming from external database but I have some doubts about setting the “Is this subscriber confirmed”, “Is this subscriber blacklisted” or “Is this account disabled” user fields.
What should I use to exclude the user from receiving any newsletter?
Thank you
Alex
While I know I can use the “confirmed” field to not send mails to people who have not yet confirmed their subscription, I was hoping to use the “Is this account disabled?” field to filter out people who have previously confirmed but have subsequently chosen to disable getting emails.
Does the “Is this account disabled?” field work this way or is the “confirmed” field the only way to control who gets sent mails or not?
@Gerard phplist will not send to subscribers who are not confirmed or blacklisted or disabled, so you should be able to use the disabled field as you describe. The only way to set the disabled field seems to be by editing the subscriber details.
Yes thanks @duncanc I looked at the source code and saw the disabled field is actually checked against so I’ll code my app to flip that field as desired via a DB query.