I need to parse incoming emails and
store relevant parts (header, subject, from a.s.o.) into a database.
Not a big deal for plain ASCII emails,
but there also can be emails with attachments, and here's where problems start.
I already went through 'perldoc MIME::Tools' and co but I found it pretty confusing:
I don't know when there's MIME::Parser working or MIME::Entity or whatever Mail Module.
I already have setup a parser, that can handle most emails,
but some are refused and I don't now why.
I wonder if some monk here could give me a hint.
Should I post the parser code here? (It's rather long, so I don't want to post it now.)