I'm sure there's a way to do this, but I haven't been able to find it:
I have a site with an email newsletter signup form (uses EE's Mailing List module), as well as member registration.
If a user signs up for emails, and then later becomes a member, what is the best way to ensure that they don't receive duplicate emails, other than manually removing them from the email list?
Ideally, I'd want them to be removed from the email list when they confirm registration. Is there a direct way of doing this?
Thanks in advance!
ty
Good question.
I've just set up a test in my sandbox, and subscribed to the mailing list, and set up a member with the same email. When I send a mail out, via the Communicate module, I do indeed get two copies.
Personally I think this is really a bug within EE, as ideally it should only send out to unique addresses.
I'm guessing that an extension for the http://expressionengine.com/developers/extension_hooks/member_member_register hook, to run a check against the Mailing List DB table?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With