I'm currently testing the script http://www.example-code.com/perl/imap_downloadAttachment.asp on a Ubuntu 12.04 32 bit with perl 5.14.
There is only one email with a pdf file as attachment in the inbox.
There script extracts the attachment and saves it in the created directory. But the script then ends with the following error:
M1KKD.BI.20150910.1059416.000077.pdf Bizarre copy of UNKNOWN in subroutine entry at ./test.pl line 99.
When we add a second email with an attachment to the inbox, this email will not be processed.
I found only few postings on the net, telling me that this is an internal error in the module.
Does anyone have a hint or suggestion how to solve this?