Email::MIME::Encodings(3pm)

Email::MIME::Encodings3pm

A unified interface to mime encoding and decoding

Usage

  use Email::MIME::Encodings;
  my $encoded = Email::MIME::Encodings::encode(base64 => $body);
  my $decoded = Email::MIME::Encodings::decode(base64 => $encoded);

If a third argument is given, it is the encoding to which to fall back. If no valid codec can be found (considering both the first and third arguments) then an exception is raised.

Version

version 1.317

Overview

This module simply wraps "MIME::Base64" and "MIME::QuotedPrint" so that you can throw the contents of a "Content-Transfer-Encoding" header at some text and have the right thing happen.

"MIME::Base64", "MIME::QuotedPrint", "Email::MIME".

Perl version

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

Contributors

•

David Steinbrunner <[email protected]>

•

Ricardo Signes <[email protected]>

Releases

11 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0
  2. 5.0
  3. 6.0–7
  4. 8–9
  5. 10–11
  6. 12–13
  7. Arch