Daniel Kasak wrote:
Hi all.
We're going to be emailed zip files ( lots of them ) that I have
process ... inspect each message, extract the zip file, do stuff.
I've spent the day messing around with various Perl modules ( mainly
Mail::IMAPClient Email::Folder::IMAP ), but I'm not really getting
anywhere. I can make a connection with Mail::IMAPClient and list the
UIDs, but get_bodystructure() fails silently ( and it's a complex
beast - far beyond me at the moment ). I've also tried just getting
the body_string() and passing it to Email::MIME, but it *also* has
problems parsing the stuff. It can see the msg text and html parts,
but not the attachment. body_string() does return the whole body, zip
file included. I also have no idea why Email::MIME can't see it :(
Has anyone used Perl modules to talk to DBMail via IMAP?
I've also though about making a custom transport for postfix, but I'd
like to keep the messages around ( and DBMail would make a nice
storage engine ).
Ideas?
All problems solved :)
For others who are interested in this in the future, the only modules I
could get to work together were:
Net::IMAP::Simple
Email::MIME
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail