Help language development. Donate to The Perl Foundation

Email::MIME zef:rbt last updated on 2023-05-19

Email: :MIME

This is a port of perl 5's Email::MIME.

Example Usage

use Email::MIME;

my $eml =$raw-mail-text);
say $eml.body-str;

my $new = Email::MIME.create(header-str => ['from' => '[email protected]',
                                            'subject' => 'This is a»test.'],
                             attributes => {'content-type' => 'text/plain',
                                            'charset' => 'utf-8',
                                            'encoding' => 'quoted-printable'},
                             body-str => 'Hello«World');
say ~$new;

Faster Base64 Encoding

To benefit from faster Base64 encoding and decoding install the Base64::Native module which will be auto-detected and used automatically.



All files in this repository are licensed under the terms of the Creative Commons CC0 License; for details, please see the LICENSE file