Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mailing#60: Fix regression where is_bulkmail flag isn't respected #16239

Merged
merged 1 commit into from Jan 9, 2020

Conversation

MegaphoneJon
Copy link
Contributor

Overview

A regression in Civi 5.19+ causes "Enable bulk email recipients" setting in CiviMail to not be respected. In fact, the "bulk email' flag isn't respected at all.

Before

Only a primary email address can receive a CiviMail email.

After

Original behavior restored.

Technical Details

The PR introducing the regression filters out emails from a mailing where e.g. a contact was marked as deceased after the mailing was queued but before it was sent. It also filters out folks who were marked "do not mail" or "on hold" between scheduling and sending. However, it erroneously includes a requirement that the email address be primary.

@civibot civibot bot added the 5.22 label Jan 8, 2020
@civibot
Copy link

civibot bot commented Jan 8, 2020

(Standard links)

@seamuslee001
Copy link
Contributor

There are enough tests here that i am confident if the tests passes and the fix looks correct to me

@eileenmcnaughton eileenmcnaughton merged commit 9eee721 into civicrm:5.22 Jan 9, 2020
@eileenmcnaughton eileenmcnaughton mentioned this pull request Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants