NAME
Sietima::Role::WithMailStore - role for lists with a store for messages
VERSION
version 1.1.4
SYNOPSIS
my $sietima = Sietima->with_traits('WithMailStore')->new({
  %args,
  mail_store => {
    class => 'Sietima::MailStore::FS',
    root => '/tmp',
  },
});
DESCRIPTION
This role adds a "mail_store" attribute.
On its own, this role is not very useful, but other roles (like SubscriberOnly::Moderate) can have uses for an object that can persistently store messages.
ATTRIBUTES
mail_store
Required instance of an object that consumes the Sietima::MailStore role. Instead of passing an instance, you can pass a hashref (like in the "synopsis"): the class key provides the class name, and the rest of the hash will be passed to its constructor.
AUTHOR
Gianni Ceccarelli <dakkar@thenautilus.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2025 by Gianni Ceccarelli <dakkar@thenautilus.net>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.