Hi to all. What I need is the following, PHP/MySQL module that will take care of Customer e-mailing and newsletter mailing. We will provide you with mySQL database structure and you will provide us with a system that will allow us to send HTML newsletter to our customers on any of the following terms: send to all users, send to users that logged in within the last week (we have a last time login timestamp in DB) , send email to the members from specific country, send newsletter to members of specific age group. Second, I need a PHP page that will when triggered go trough user database and if any of the users has upcoming birthday (or his spouse, provided in the database) it will send him a predefined HTML email. And third, you will provide me with a system/page/class (what is applicable) that we will run every 2 minutes and it will go trough a mySQL table and send all emails in it then empty the table. Idea is that if we need to send something in the email we just write to the table and script takes care of it when we run it every 2 munutes. You will make as much as you can dynamic , settings such as SMTP server, port, recipients should all be in the database so it is easy for us to change it later, if we need to add some fields to the table let us know. We require you to provide a support for it in future as well ( will be compensated of course) Please clean and professional code only.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
PHP/MySQL