Create a PHP script that checks a POP e-mail account. The POP account is a catch-all for a variety of addresses (i.e. steve@[url removed, login to view] or cathy@[url removed, login to view] goes to the same place) ??" the program should see who it was intended for, look up a forwarding e-mail address in a mysql database (i.e. steve@ might be forwarded to stever43@[url removed, login to view]), save the message in a database, and send a new message to that new address, along with a footer that says “this message has been forwarded from [url removed, login to view]?. There is one more simple function it should perform before sending the message ??" each account on the catchall system should be able to be aliased ??" so that steve-alias@[url removed, login to view] is the same as email@example.com. If a message uses an alias, the site should keep a list of e-mail addresses that have sent something to that address ??" but only the sender domain of the very first message sent to that alias should be forwarded on. The alias should be set up by the system on the fly ??" steve should not have to register a new alias on the system, it should just recognize when a new one is received.
As an example: Steve registers on amazon, and enters “steve-amazonys@[url removed, login to view]? as his e-mail address. Amazon sends a welcome message to him confirming his registration. This e-mail is forwarded to steve’s real account on hotmail. Any other e-mail that amazon sends to steve is forwarded. However, mr spammer, whose e-mail is “joe@[url removed, login to view]? is not allowed to e-mail steve ??" so the e-mail is recorded in the database but nothing is forwarded.
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).