title: Capture and Manage Email Data with PHP
body: <p>I'm looking for a way to capture and manage email data using PHP. Basically, what I want to do is capture all the data in an email and then manipulate this data to my specification.</p>
  
  <p>For example, say, I send an email containing a .zip file attachment to myemail@myproject.com, I want to be able to:</p>
  
  <ol>
  <li>Get the attachment and place it in a specific folder on my site</li>
  <li>Get the text content of the email</li>
  <li>Get the subject of the email</li>
  <li>Get the sender's info i.e. email address</li>
  </ol>
  
  <p>Anyone know how I can get this done efficiently with PHP. I'm using LAMP by the way.</p>
  
  <p>Thanks.</p>