I have following MySQL database structure:
id | from | content | attachment | datestamp
---------------------------------------------------------------------
1 | [email protected] | [BLOB - 4,6 KB] | img20120605.jpg | NOW()
I would like to automatically save all incoming emails to that database and copy image from attachment to server. Is it possible? Is there any library or tool which will help me to achieve this?