
Originally Posted by
Datax
Of course, but I thought I've seen it before. And why spend a lot of energy at something that already exists.
You can try this, change line 87 to 95 In the file includes/functions/audience.php, Changed function get_audience_sql_query to:
PHP Code:
//if no match found against queries listed in database, then $selected_entry must be an email address
if ($query_name=='' && $query_category=='email') {
$cust_email_address = zen_db_prepare_input($selected_entry);
$query_name = $cust_email_address;
$query_string = "select customers_firstname, customers_lastname, customers_email_address
from " . TABLE_CUSTOMERS . "
where customers_email_address = '" . zen_db_input($cust_email_address) . "'
and COWOA_account = '0'";
}
By doing this Cowoa will not send any emails to Cowoa customers.
Bookmarks