Skip to content

Commit

Permalink
Merge pull request #11846 from eileenmcnaughton/mail_hold
Browse files Browse the repository at this point in the history
Fix issue where on_hold email addresses are not being filtered out of
  • Loading branch information
eileenmcnaughton authored Mar 21, 2018
2 parents 7713e22 + 8443fe5 commit e83b3ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Mailing/BAO/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ public static function getRecipients($mailingID) {
$location_filter,
"$entityTable.email IS NOT NULL",
"$entityTable.email != ''",
"$entityTable.on_hold = 0",
"mg.mailing_id = #mailingID",
'temp.contact_id IS NULL',
);
Expand Down

0 comments on commit e83b3ac

Please sign in to comment.