Hi all, I'm writing a little script to extract attachments from mail.
I'm using a unix mbox and attached is my script. The script works fine for a lot of messages, but for some messages it fails. The problem is that some messages (I don't know why but evolution make messages like that) has these strings: ---- Content-Disposition: attachment; filename*0=emcgrab_full_2006-01-23-15.18.47_AIX_misp205s_CC0000000000.ta; filename*1=r.zip Content-Type: application/zip; name*0=emcgrab_full_2006-01-23-15.18.47_AIX_misp205s_CC0000000000.tar.zi; name*1=p Content-Transfer-Encoding: base64 ---- maybe this is for the line truncation that I have, but with this behavior the script doesn't work because the stripper function is not able to recognize the filename for the attachment. I tried with some other modules, but the problem is the same. Someone known how to solve this problem? Tanx to all Ambrogio
readmbox.pl
Description: Perl program
_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
