From 570b3479a9a4a91981717952f54dfde66a8b9460 Mon Sep 17 00:00:00 2001 From: o-psi Date: Thu, 15 Feb 2024 22:08:40 +0000 Subject: [PATCH] Only Special Contacts --- client_bulk_mail.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client_bulk_mail.php b/client_bulk_mail.php index a6ddf3599..8ecb8fc03 100644 --- a/client_bulk_mail.php +++ b/client_bulk_mail.php @@ -5,6 +5,10 @@ WHERE contact_client_id = $client_id AND contact_archived_at IS NULL AND contact_email != '' + AND ( contact_primary = 1 OR + contact_important = 1 OR + contact_billing = 1 OR + contact_technical = 1 ) ORDER BY contact_primary DESC, contact_important DESC" ); @@ -15,7 +19,7 @@
-

Bulk Mail

+

Bulk Mail to Special Contacts