github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

rjbs / email-mime-attachment-stripper

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (5)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (5)
    • 1.316
    • 1.315
    • 1.314
    • 1.312
    • 1.311
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

perl library for stripping MIME attachments — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

add repo md 
rjbs (author)
Fri Jan 23 19:21:13 -0800 2009
commit  88c7a9828a22335b04a5446661dcaff39b24fb86
tree    1d11f321a6e009eb43b500334d7d1ac3863978cc
parent  41c7b95b9c499f1c8fcd326088f93351155ace34
email-mime-attachment-stripper /
name age
history
message
file Changes Loading commit data...
file LICENSE
file MANIFEST
file Makefile.PL
file README
directory lib/
directory t/
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.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server