I have an extension which allow customer send email,the extension can recorder it to the table “email_recorder”.
Now what we need to do
1. add two columns(brand_id,city_id) to the email_recorder.
2. Send email to the email address from table “user_customer”. The target emails have a recorder in table”brand_customer”. The brand_id of them is same.
We only select random some of them according the percent parameter.
Default percent parameter is 80%.