Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expression Engine: Removing Members From Mailing List

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

like image 996
Ty Morton Avatar asked Oct 30 '12 15:10

Ty Morton


1 Answers

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?

like image 186
Geoff Cowan Avatar answered Nov 13 '22 04:11

Geoff Cowan