Raku Land

Email::Simple

github:retupmoca

Email::Simple

This is my attempt at porting Email::Simple from perl 5 to perl 6 (mostly just because I can)

Example Usage

use Email::Simple;

my $eml = Email::Simple.new($raw-mail-text);
say $eml.body;

my $new = Email::Simple.create(header => [['To', 'mail@example.com'],
                                          ['From', 'me@example.com'],
                                          ['Subject', 'test']],
                               body => 'This is a test.');
say ~$new;

Methods

License

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