This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Ricardo SIGNES (author)
Fri Jan 23 19:21:13 -0800 2009
commit 88c7a9828a22335b04a5446661dcaff39b24fb86
tree 1d11f321a6e009eb43b500334d7d1ac3863978cc
parent 41c7b95b9c499f1c8fcd326088f93351155ace34
tree 1d11f321a6e009eb43b500334d7d1ac3863978cc
parent 41c7b95b9c499f1c8fcd326088f93351155ace34
| name | age | message | |
|---|---|---|---|
| |
Changes | Fri Jan 23 19:21:13 -0800 2009 | |
| |
LICENSE | Mon Nov 20 06:44:48 -0800 2006 | |
| |
MANIFEST | Tue Jul 08 18:26:57 -0700 2008 | |
| |
Makefile.PL | Fri Jan 23 19:21:13 -0800 2009 | |
| |
README | Fri Jul 21 05:18:53 -0700 2006 | |
| |
lib/ | Fri Jan 23 19:21:13 -0800 2009 | |
| |
t/ | Tue Jul 08 18:19:01 -0700 2008 |
README
NAME
Email::MIME::Attachment::Stripper - Strip the attachments from a mail
SYNOPSIS
my $stripper = Email::MIME::Attachment::Stripper->new($mail);
my Email::MIME $msg = $stripper->message;
my @attachments = $stripper->attachments;
DESCRIPTION
Given a Email::MIME object, detach all attachments from the message.
These are then available separately.
METHODS
new
my $stripper = Email::MIME::Attachment::Stripper->new($mail, %args);
This should be instantiated with a Email::MIME object. Current arguments
supported:
force_filename
Try harder to get a filename, making one up if necessary.
message
my Email::MIME $msg = $stripper->message;
This returns the message with all the attachments detached. This will
alter both the body and the header of the message.
attachments
my @attachments = $stripper->attachments;
This returns a list of all the attachments we found in the message, as a
hash of { filename, content_type, payload }.
PERL EMAIL PROJECT
This module is maintained by the Perl Email Project
http://emailproject.perl.org/wiki/Email::MIME::Attachment::Stripper
AUTHOR
Casey West <casey@geeknest.com>
CREDITS AND LICENSE
This module is incredibly closely derived from Tony Bowden's
Mail::Message::Attachment::Stripper; this derivation was done by Simon
Cozens ("simon@cpan.org"), and you receive this under the same terms as
Tony's original module.







