Files used for sending newsletters / product promotion:
/admin/newsletters.php - line #340 (aprox) – look for confirm_send action
/admin/includes/language/newsletters.php
/admin/includes/modules/newsletters/newsletter.php - line #95 – look for function send
on send action will be called:
function get_audiences_list defined in:
/includes/functions/audience.php
Tables used:
customers
subscribers
query_builder
Into the last one insert the query and the name which will appear into audience drop-down list (admin newsletter page).
Note:
emails is sent using standard zencart procedure : see zen_mail function using templates from /email folder




(8 votes, average: 4.88 out of 5, rated)