I'm writing a MIME-based email service. I've already got the compose section workin great, with attachments and stationary. Also, a somewhat messy hack-of-a-way of handling the receiving end, in Perl.
So, I have the actual output from an email, the entire contents, stored in a file. Is there a way to mimic an imap stream with a local file? I just need a way to completely parse-out a MIME email file. the imap functions are great, and very easy to use when connecting to a real POP3 or IMAP server, but I haven't been able to find a way to do what i'm tryin.
any ideas?
( aside from writing my own MIME decoder ๐ )
thanks much
Blake