I have an application and need to write a program that is able to figure out attachments from all kinds of email senders (and MUAs) reliably. PHP doesn't seem to have a great MIME parser so I was hoping some other languages might.
I've seen the PHP Mail Mime Parser but it's not robust at all and I know (and have confirmed) it doesn't work reliably with all MUAs.
Does anyone know of a more real-world-hardened mail parsing library?
I can use any language, doesn't matter.