I have a custom CRM I am working on.
The crm has a custom email client inside of it.
I need the client to parse incoming emails correctly, handle attachments, etc.
This is straight forward:
1.) Fix the incoming email so body is seperated from the headers
2.) Handle attachments, images, documents, save them to a dir, and link them up in the database.
Update: I only need the attachment piece of this parser fixed. I have the plain/text and html version saved correctly.. but the attachment handling part needs to be sorted out. This is straight forward.
1.) Seperate attachments in the parser
2.) Save attachment to file
3.) Save reference in db field.