Subject: | Bug in Mail::Message::Attachment::Stripper |
Date: | Thu, 29 Jan 2009 18:01:23 +0000 |
To: | bug-Mail-Message-Attachment-Stripper [...] rt.cpan.org |
From: | Rishi Malik <rishim [...] mxtelecom.com> |
Hello,
I believe I have found a bug in this module. If the stripper is called
with a message that doesn't match the default transfer_encoding, then
the stripper module ends up corrupting the message. This can also
manifest itself as a wide character issue. To fix this, I've changed
line 76 in Stripper.pm to the below. I don't know if this is the best
fix, but it is working for my purposes.
$mm->body(Mail::Message::Body->new(transfer_encoding =>
'quotedprint',data => $self->{_body}));
Cheers,
Rishi Malik