You have chosen to sponsor your bid up to a maximum amount of .
I want a php code that will parse attachments within an email. Basically what I want is described below.
1. User will have to send an mp3 or wma file to an email address (1-2345 [at] example)
2. If attachment must be in the format .mp3 or .wma, if not they sender must be notified that upload was not successful
3. The data must be stored in a database, with the following fields: UserID, MusicID, URL (to the ploaded attachment)
4. The email address must be exploded to find user details (UserID-MusicID [at] example) - this data will be used to insert into the database
5. The attachments will have to be uploaded into a /upload/ folder
6. Send the sender an email stating that the upload was successful
* I don't want a code that sends emails with attachments BUT receives emails with attachments, upload the attachment into a folder.
* Keep it simple
* No design is required, this code will be placed into an already existing platform
* Include all instructions to setup, as though it will be used by a newbie
* Try your best to comment by explaining your coding
* Please use PHP