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.
For example, say, I send an email containing a .zip file attachment to [email protected], I want to be able to:
- Get the attachment and place it in a specific folder on my site
- Get the text content of the email
- Get the subject of the email
- Get the sender's info i.e. email address
Anyone know how I can get this done efficiently with PHP. I'm using LAMP by the way.
Thanks.