문제

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?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top