Help language development. Donate to The Perl Foundation

Email::MIME cpan:RBT last updated on 2020-01-25

Email-MIME-2.0.1/
Email: :MIME
===========

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

Example Usage

use Email::MIME;

my $eml = Email::MIME.new($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;

Methods

License

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