Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 8995
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

People
Owner: Nobody in particular
Requestors: leszlauer.gabor [...] co.interlink.hu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: Leszlauer Gábor [Interlink Networks] <leszlauer.gabor [...] co.interlink.hu>
To: <bug-Mail-IMAPClient [...] rt.cpan.org>
Subject: IMAPClient BUG
Date: Sat, 18 Dec 2004 21:19:17 +0100
Dear David, I think I have found a bug in the Mail::IMAPClient::BodyStructure module. I started developing a webmail application and I am almost finished with the whole project. I had some difficulties with retrieving the attachment's filename from multipart/mixed emails. I dont know if this function has worked in earlier versions of this module, but when I try to get filenames from the bodydisp function, it gives back nothing but the following: attachment: ) with the following for cycle: my $bodydisp_tmp = $$objref{bodydisp}; for my $y (keys %$bodydisp_tmp) { print "$y: $$bodydisp_tmp{$y}"; } I took a look at the mail source and even at the output of imapd, it gives back everything - including the filename too. I use the latest courier imapd. I am retrieving filenames from bodyparm{name} as a workaround right now, fortunatelly there is only a few number of email clients which aint define the name= field besides content-type, so this may work in 99%. I searched thru all the hash and array references which are given back by get_bodystructure, but I did not find the filename field. I hope I could have served some help. Regards, Gabriel Leszlauer
new maintainer. the body structure parser has improved a little. Did you fix your problem? Any chance to reproduce it on the newest release: 2.99_06?
Probably too old to be picked-up