Very simple project.
A? php script executed when cpanel redirects to it a multipart email, just resend it to a list of emails extracted from a database using the string id in the "subject" field. We provide the database? and the query to extract the emails. Must also log its activity in a log table.
## Deliverables
the emails will be sended from outlook express to a specific address in the server, which will be routed to the php cli script. It then must analyze the email (probably using pear library), extract a list of emails from the mysql database, and then resend an apparently exact copy of the email to the emails address from the database.
This is not spam, the email address list will have beetween 1 and 50 emails address, and will be different lists for each email.
The emails must be received by? our? customers as exact copies from the original (including css styles, html tables, colors, etc)
Its possible to have the first lines in the source email with a list of emails; in such case, the email copies will have to be sended to those emails also; in such case, a second query will be issued to the database, to retrieve log info
In the log must be recorded the email id, the email address sended, date and time, and user destination id.