In admin/[url removed, login to view] I need 3 changes:
1. Add code so that a copy of every newsletter that is sent out is also sent to HQ_NEWLETTER_CC (this is already defined in the configuration table)
2. Add code to send a different email to MAILLIST_ABUSE_EMAIL (this is already defined in the configuration table) – this is a simple email that tells the recipient
a. how many newsletter_type=1 received the newsletter and
b. how many newsletter_type=2 received the newsletter and
c. how many newsletter_type=3 received the newsletter
This email text content must be set in admin/includes/languages/English/[url removed, login to view]
How it would work is that it checks checks in TABLE_NEWSLETTER_MAILLIST for the newsletter_type and gets the total for each newsletter_type IF customers_newsletter=1
The purpose of this is for Head Office to monitor that the branch admin is not adding mailing lists that they have bought.
3. At the moment admin can select which group to send a newsletter to. I need them to also have the option to select one or more individual customers (taken from TABLE_CUSTOMERS). So in the drop-down select box, underneath the list of groups, it must show a list of customers like: firstname+lastname (email address).
Example: John Doe (john at some domain dot com)
It must work with the keyboard ctrl key so that admin can select more than 1 user to send to.
This newsletter function does not work like the normal osc newsletter function at all. It does not work with the normal email modules. It also works with templates and has a test function. All changes that you need to make would probably be in the one file. I am attaching the admin/[url removed, login to view] file for you to look at.
Coding on all 3 changes must work with a multi-language website.
Please do not change any existing functions (except where you must make a change for the drop-down)
You will not have access to the live site. I will need you to do the changes and tell me exactly what I need to add to or change on any other files.
Payment will be released as soon as I have done this and tested that it works 100%.
Sorry - I just saw a mistake in my project - number 3.
This says that the information is taken from TABLE_CUSTOMERS - this is wrong.
The information is taken from TABLE_NEWSLETTER_MAILLIST where customers_id>0