1Email::MIME::Encodings(U3s)er Contributed Perl DocumentatEimoanil::MIME::Encodings(3)
2
3
4
6 Email::MIME::Encodings - A unified interface to MIME encoding and
7 decoding
8
10 version 1.317
11
13 use Email::MIME::Encodings;
14 my $encoded = Email::MIME::Encodings::encode(base64 => $body);
15 my $decoded = Email::MIME::Encodings::decode(base64 => $encoded);
16
17 If a third argument is given, it is the encoding to which to fall back.
18 If no valid codec can be found (considering both the first and third
19 arguments) then an exception is raised.
20
22 This module simply wraps "MIME::Base64" and "MIME::QuotedPrint" so that
23 you can throw the contents of a "Content-Transfer-Encoding" header at
24 some text and have the right thing happen.
25
26 "MIME::Base64", "MIME::QuotedPrint", "Email::MIME".
27
29 This library should run on perls released even a long time ago. It
30 should work on any version of perl released in the last five years.
31
32 Although it may work on older versions of perl, no guarantee is made
33 that the minimum required version will not be increased. The version
34 may be increased for any reason, and there is no promise that patches
35 will be accepted to lower the minimum required perl.
36
38 • Simon Cozens <simon@cpan.org>
39
40 • Casey West <casey@geeknest.com>
41
42 • Ricardo SIGNES <cpan@semiotic.systems>
43
45 • David Steinbrunner <dsteinbrunner@pobox.com>
46
47 • Ricardo Signes <rjbs@semiotic.systems>
48
50 This software is copyright (c) 2004 by Simon Cozens and Casey West.
51
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54
55
56
57perl v5.38.0 2023-07-20 Email::MIME::Encodings(3)