explorador - 3:38 pm on Aug 14, 2013 (gmt 0)
IncrediBILLAny chance you want to do this in PHP as I have some easy solutions for your problem, including code, just not in PERL.
Either way, you should use the IMAP interface which allows you to open the mailbox and download the content whether you're hosting it and have direct access or whether it's on a different server than the website.
Accessing the mailbox files directly is frowned upon and usually not possible in most servers because of the security settings which jail the software to the user account making IMAP the way to go.
Thanks for the kind offer, please allow me to try a bit more because there is already a lot of code and interface done and built in PERL, I went as far as I could by my own means/knowledge/limits. I'm near solving it or giving up on that so I'll let you know, thanks.
Thanks Brett for the kind contribution of code. Yes I have direct access, easy checking with no need of pop3 or imap, besides sometimes the servers are working but the mail goes off: no problem accessing the files! I ried parsers and hand coded html strippers that worked fine with test texts but not with the actual file, I'm stuck there. I will try the code you kindly posted and will come back after doing some tests.