Skip Menu |

This queue is for tickets about the Mail-Message-Attachment-Stripper CPAN distribution.

Report information
The Basics
Id: 35181
Status: new
Priority: 0/
Queue: Mail-Message-Attachment-Stripper

People
Owner: Nobody in particular
Requestors: peto [...] ammo.sk
Cc:
AdminCc:

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



Subject: Mail::Message::Attachment::Stripper
Date: Fri, 18 Apr 2008 15:53:29 +0200
To: bug-Mail-Message-Attachment-Stripper [...] rt.cpan.org
From: "peto [...] ammo.sk" <peto [...] ammo.sk>
Hi, I am using module Mail::Message::Attachment::Stripper and i have a query. Why don't you add file to attachments when it's "inline"? It can be text file. sub _handle_part { .. foreach my $part ($mm->isMultipart ? $mm->parts : $mm) { if ($self->_is_inline_text($part)) { $self->_gather_body($part); } elsif ($self->_should_recurse($part)) { $self->_handle_part($part); ... } woundn't be better? : sub _handle_part { .. foreach my $part ($mm->isMultipart ? $mm->parts : $mm) { if ($self->_is_inline_text($part)) { $self->_gather_body($part); } if ($self->_should_recurse($part)) { $self->_handle_part($part); ... } and return only attachments with "filename" != "" ? have a nice day, peter