extract content from emails in qmail queue

  • Status Completed
  • Budget $30 - $250 USD
  • Total Bids 8

Project Description

I'm using an apache server with plesk 8.6 installed. I have configured a domain so that all Mail to nonexistent users is delivered to photos at mydomain dot com

I need a php script that will be run by a cron every few minutes and perform the following:

1. find all messages in the inbox . loop through them and perform the following on each:

2. find the address(es) the it was actually sent to (will be something like photos 34 at mydomain dot com or photos 76 at mydomain dot com) - might be multiple addresses

3. extract the number(s) from the address in step 2 (eg 34 and 76)

4. extract the subject of the email as a string

5. extra the 'from' email address and store it in a string

6. extract any images or video attached to the email and store in variables

7. at this point, I will handle saving the images to the server, storing data in a database etc

8. delete the message from the mailbox

Get free quotes for a project like this
Completed by:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online